mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-29 18:27:23 +02:00
[ui] Update of accessor for intrinsics in removeImage
This commit is contained in:
parent
3f0e3e00c7
commit
155a9e3bd9
1 changed files with 1 additions and 2 deletions
|
@ -831,8 +831,7 @@ class UIGraph(QObject):
|
||||||
|
|
||||||
if not intrinsicUsed:
|
if not intrinsicUsed:
|
||||||
#find the intrinsic and remove it
|
#find the intrinsic and remove it
|
||||||
for x in range(len(self.cameraInit.attribute("intrinsics"))):
|
for intrinsic in self.cameraInit.attribute("intrinsics"):
|
||||||
intrinsic = self.cameraInit.attribute("intrinsics").at(x)
|
|
||||||
if intrinsic.getExportValue()["intrinsicId"] == intrinsicId:
|
if intrinsic.getExportValue()["intrinsicId"] == intrinsicId:
|
||||||
self.removeAttribute(intrinsic)
|
self.removeAttribute(intrinsic)
|
||||||
break
|
break
|
||||||
|
|
Loading…
Add table
Reference in a new issue