mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 13:52:15 +01:00
bugfix update instance parameters values on update_instances
This commit is contained in:
parent
2633d5694a
commit
8ee57bd3a1
2 changed files with 3 additions and 1 deletions
|
|
@ -932,7 +932,6 @@ def self_publish():
|
|||
|
||||
active = node_path in inputs_paths
|
||||
instance["active"] = active
|
||||
hou.node(node_path).parm("active").set(active)
|
||||
|
||||
context.save_changes()
|
||||
|
||||
|
|
|
|||
|
|
@ -250,11 +250,14 @@ class HoudiniCreator(NewCreator, HoudiniCreatorBase):
|
|||
key: changes[key].new_value
|
||||
for key in changes.changed_keys
|
||||
}
|
||||
# Update ParmTemplates
|
||||
self.imprint(
|
||||
instance_node,
|
||||
new_values,
|
||||
update=True
|
||||
)
|
||||
# Update values
|
||||
instance_node.setParms(new_values)
|
||||
|
||||
def imprint(self, node, values, update=False):
|
||||
# Never store instance node and instance id since that data comes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue