Merge pull request #6047 from ynput/bugfix/editorial-collect-resources-broken

Ayon General: traypublisher editorial check of hierarchy in wrong data
This commit is contained in:
Jakub Trllo 2023-12-12 17:42:57 +01:00 committed by GitHub
commit 4afa8292d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -82,7 +82,7 @@ class CollectResourcesPath(pyblish.api.InstancePlugin):
# Add fill keys for editorial publishing creating new entity
# TODO handle in editorial plugin
if instance.data.get("newAssetPublishing"):
if "hierarchy" not in instance.data:
if "hierarchy" not in template_data:
template_data["hierarchy"] = instance.data["hierarchy"]
if "asset" not in template_data: