mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
nuke: removing instance only clear instance data knob
This commit is contained in:
parent
b2d2073205
commit
2f50c0261f
1 changed files with 2 additions and 1 deletions
|
|
@ -545,7 +545,8 @@ def remove_instance(instance):
|
|||
instance (dict): instance representation from subsetmanager model
|
||||
"""
|
||||
instance_node = instance.transient_data["node"]
|
||||
nuke.delete(instance_node)
|
||||
instance_knob = instance_node.knobs()[INSTANCE_DATA_KNOB]
|
||||
instance_node.removeKnob(instance_knob)
|
||||
|
||||
|
||||
def select_instance(instance):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue