[ui] MFeatures: use viewId from active cameraInit only (not all cameraInits)

This commit is contained in:
Loïc Vital 2023-03-22 15:43:54 +01:00
parent 634fb96aa9
commit 8d68f17410
2 changed files with 11 additions and 2 deletions

View file

@ -692,7 +692,6 @@ class Reconstruction(UIGraph):
""" Get all image paths in the reconstruction. """
return [vp.path.value for node in self._cameraInits for vp in node.viewpoints.value]
@Slot(result="QVariantList")
def allViewIds(self):
""" Get all view Ids involved in the reconstruction. """
return [vp.viewId.value for node in self._cameraInits for vp in node.viewpoints.value]