From 8e55257c59d6771c1b57c0468b9763f074497143 Mon Sep 17 00:00:00 2001 From: Aurore LAFAURIE Date: Tue, 23 Apr 2024 12:42:36 +0200 Subject: [PATCH] [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. --- meshroom/core/attribute.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meshroom/core/attribute.py b/meshroom/core/attribute.py index 43d7b4c7..48a27d76 100644 --- a/meshroom/core/attribute.py +++ b/meshroom/core/attribute.py @@ -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,