[core] BugFix : Dynamic Param with onAttributeChanged behavior should not be applied if CompatibilityNode

If it is a CompatibilityNode, we should only get the value of the attribute to create fully all the attributes instead of throwing an error.
This commit is contained in:
Aurore LAFAURIE 2024-04-23 12:42:36 +02:00
parent 6791f02f2d
commit 8e55257c59

View file

@ -193,7 +193,8 @@ class Attribute(BaseObject):
convertedValue = self.validateValue(value)
self._value = convertedValue
self.node.onAttributeChanged(self)
if not self.node.isCompatibilityNode:
self.node.onAttributeChanged(self)
# Request graph update when input parameter value is set
# and parent node belongs to a graph
# Output attributes value are set internally during the update process,