mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-29 10:17:27 +02:00
[core] Graph: Remove selectedViewpoint
property
The information that this property conveys will be accessible at an upper level and is thus redundant here.
This commit is contained in:
parent
b286c95ccd
commit
2bcf9d432c
2 changed files with 0 additions and 9 deletions
|
@ -226,8 +226,6 @@ class Graph(BaseObject):
|
|||
self._fileDateVersion = 0
|
||||
self.header = {}
|
||||
|
||||
self._selectedViewpoint = None
|
||||
|
||||
def clear(self):
|
||||
self.header.clear()
|
||||
self._compatibilityNodes.clear()
|
||||
|
@ -1566,12 +1564,6 @@ class Graph(BaseObject):
|
|||
self.updateStatusFromCache(force=True)
|
||||
self.cacheDirChanged.emit()
|
||||
|
||||
@property
|
||||
def selectedViewpoint(self):
|
||||
""" Return the attribute describing the viewpoint that is
|
||||
currently set as the 'selected viewpoint'. """
|
||||
return self._selectedViewpoint
|
||||
|
||||
@property
|
||||
def fileDateVersion(self):
|
||||
return self._fileDateVersion
|
||||
|
|
|
@ -1158,7 +1158,6 @@ class Reconstruction(UIGraph):
|
|||
# Reconstruction has ownership of Viewpoint object - destroy it when not needed anymore
|
||||
self._selectedViewpoint.deleteLater()
|
||||
self._selectedViewpoint = ViewpointWrapper(viewpointAttribute, self) if viewpointAttribute else None
|
||||
self._graph._selectedViewpoint = self._selectedViewpoint.attribute if viewpointAttribute else None
|
||||
self.selectedViewpointChanged.emit()
|
||||
|
||||
def setPickedViewId(self, viewId):
|
||||
|
|
Loading…
Add table
Reference in a new issue