mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
Update openpype/hosts/nuke/api/plugin.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
parent
df78b06014
commit
9e008a80e0
1 changed files with 2 additions and 7 deletions
|
|
@ -215,15 +215,10 @@ class NukeCreator(NewCreator):
|
|||
for created_inst, changes in update_list:
|
||||
instance_node = created_inst.transient_data["node"]
|
||||
|
||||
changed_keys = {
|
||||
key: changes[key].new_value
|
||||
for key in changes.changed_keys
|
||||
}
|
||||
|
||||
# update instance node name if subset name changed
|
||||
if "subset" in changed_keys:
|
||||
if "subset" in changes:
|
||||
instance_node["name"].setValue(
|
||||
changed_keys["subset"]
|
||||
changes["subset"].new_value
|
||||
)
|
||||
|
||||
# in case node is not existing anymore (user erased it manually)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue