mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
fix(global): entity error problem
This commit is contained in:
parent
b8f3aa0561
commit
885aee74ef
2 changed files with 2 additions and 3 deletions
|
|
@ -51,7 +51,7 @@ def get_hierarchy(asset_name=None):
|
|||
})
|
||||
|
||||
not_set = "PARENTS_NOT_SET"
|
||||
entity_parents = entity.get("data", {}).get("parents", not_set)
|
||||
entity_parents = asset_entity.get("data", {}).get("parents", not_set)
|
||||
|
||||
# If entity already have parents then just return joined
|
||||
if entity_parents != not_set:
|
||||
|
|
|
|||
|
|
@ -212,7 +212,6 @@ def create_write_node(name, data, prenodes=None):
|
|||
"nuke_dataflow_writes": nuke_dataflow_writes,
|
||||
"nuke_colorspace_writes": nuke_colorspace_writes
|
||||
})
|
||||
|
||||
anatomy_filled = format_anatomy(data)
|
||||
|
||||
except Exception as e:
|
||||
|
|
@ -321,7 +320,7 @@ def create_write_node(name, data, prenodes=None):
|
|||
lnk.makeLink(write_node.name(), "Render")
|
||||
lnk.setName("Render")
|
||||
GN.addKnob(lnk)
|
||||
|
||||
|
||||
return GN
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue