mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-26 22:47:22 +02:00
use semantic field in file attributes to specify images and store displayed node in 2D viewer to adapt UI
This commit is contained in:
parent
fc5ab540f5
commit
a574c0fc9b
9 changed files with 139 additions and 83 deletions
|
@ -568,9 +568,6 @@ class BaseNode(BaseObject):
|
|||
def getAttributes(self):
|
||||
return self._attributes
|
||||
|
||||
def getOutputImageTypes(self):
|
||||
return self.nodeDesc.outputImageTypes
|
||||
|
||||
@Slot(str, result=bool)
|
||||
def hasAttribute(self, name):
|
||||
return name in self._attributes.keys()
|
||||
|
@ -1056,7 +1053,6 @@ class BaseNode(BaseObject):
|
|||
x = Property(float, lambda self: self._position.x, notify=positionChanged)
|
||||
y = Property(float, lambda self: self._position.y, notify=positionChanged)
|
||||
attributes = Property(BaseObject, getAttributes, constant=True)
|
||||
outputImageTypes = Property(Variant, getOutputImageTypes, constant=True)
|
||||
internalFolderChanged = Signal()
|
||||
internalFolder = Property(str, internalFolder.fget, notify=internalFolderChanged)
|
||||
depthChanged = Signal()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue