mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-29 02:08:08 +02:00
[core] Clean-up unused code
This commit is contained in:
parent
3cc57f89e6
commit
8e3b9873d9
1 changed files with 0 additions and 15 deletions
|
@ -182,21 +182,6 @@ class Attribute(BaseObject):
|
|||
return self.getLinkParam().value
|
||||
return self._value
|
||||
|
||||
def onChanged(self):
|
||||
""" Called when the attribute value has changed """
|
||||
if self.node.isCompatibilityNode:
|
||||
# We have no access to the node's implementation,
|
||||
# so we cannot call the custom method.
|
||||
return
|
||||
if self.isOutput and not self.node.isInputNode:
|
||||
# Ignore changes on output attributes for non-input nodes
|
||||
# as they are updated during the node's computation.
|
||||
# And we do not want notifications during the graph processing.
|
||||
return
|
||||
# notify the node that the attribute has changed
|
||||
# this will call the node descriptor "onAttrNameChanged" method
|
||||
self.node.onAttributeChanged(self)
|
||||
|
||||
def _set_value(self, value, emitSignals=True):
|
||||
if self._value == value:
|
||||
return
|
||||
|
|
Loading…
Add table
Reference in a new issue