mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-18 11:36:27 +02:00
[core] Attribute: expose 'node' and 'linkParam' as properties
This commit is contained in:
parent
400835d8f8
commit
3dad1e3aac
1 changed files with 2 additions and 0 deletions
|
@ -219,6 +219,8 @@ class Attribute(BaseObject):
|
||||||
isLinkChanged = Signal()
|
isLinkChanged = Signal()
|
||||||
isLink = Property(bool, isLink.fget, notify=isLinkChanged)
|
isLink = Property(bool, isLink.fget, notify=isLinkChanged)
|
||||||
isDefault = Property(bool, _isDefault, notify=valueChanged)
|
isDefault = Property(bool, _isDefault, notify=valueChanged)
|
||||||
|
linkParam = Property(BaseObject, getLinkParam, notify=isLinkChanged)
|
||||||
|
node = Property(BaseObject, node.fget, constant=True)
|
||||||
|
|
||||||
|
|
||||||
def raiseIfLink(func):
|
def raiseIfLink(func):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue