mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fix hierarchy for psd
This commit is contained in:
parent
46626de973
commit
cef7e87b01
1 changed files with 6 additions and 0 deletions
|
|
@ -92,6 +92,12 @@ class CollectAnatomyInstanceData(pyblish.api.InstancePlugin):
|
|||
"subset": subset_name,
|
||||
"version": version_number
|
||||
}
|
||||
if (
|
||||
asset_entity
|
||||
and asset_entity["_id"] != context_asset_entity["_id"]
|
||||
):
|
||||
parents = asset_entity["data"].get("parents") or list()
|
||||
anatomy_updates["hierarchy"] = "/".join(parents)
|
||||
|
||||
task_name = instance.data.get("task")
|
||||
if task_name:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue