mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-07-21 18:47:17 +02:00
[core] Prevent bug from onAttributeChanged when setting value of self attribute
This commit is contained in:
parent
f4404f287f
commit
aacacb1d65
1 changed files with 2 additions and 2 deletions
|
@ -37,9 +37,9 @@ def attributeFactory(description, value, isOutput, node, root=None, parent=None)
|
|||
cls = Attribute
|
||||
attr = cls(node, description, isOutput, root, parent)
|
||||
if value is not None:
|
||||
attr.value = value
|
||||
attr._set_value(value, emitSignals=False)
|
||||
else:
|
||||
attr.resetToDefaultValue()
|
||||
attr.resetToDefaultValue(emitSignals=False)
|
||||
return attr
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue