mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-29 10:17:27 +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:
|
||||
#find the intrinsic and remove it
|
||||
for x in range(len(self.cameraInit.attribute("intrinsics"))):
|
||||
intrinsic = self.cameraInit.attribute("intrinsics").at(x)
|
||||
for intrinsic in self.cameraInit.attribute("intrinsics"):
|
||||
if intrinsic.getExportValue()["intrinsicId"] == intrinsicId:
|
||||
self.removeAttribute(intrinsic)
|
||||
break
|
||||
|
|
Loading…
Add table
Reference in a new issue