add path to folder keys

This commit is contained in:
Jakub Trllo 2024-04-24 10:59:16 +02:00
parent 13fbc5b74f
commit e194652f65
2 changed files with 2 additions and 0 deletions

View file

@ -102,6 +102,7 @@ def get_folder_template_data(folder_entity, project_name):
"folder": {
"name": folder_name,
"type": folder_entity["folderType"],
"path": path,
},
"asset": folder_name,
"hierarchy": hierarchy,

View file

@ -406,6 +406,7 @@ class CollectAnatomyInstanceData(pyblish.api.ContextPlugin):
"parent": parent_name,
"folder": {
"name": folder_name,
"path": instance.data["folderPath"],
# TODO get folder type from hierarchy
# Using 'Shot' is current default behavior of editorial
# (or 'newAssetPublishing') publishing.