mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Debug log instance folder path and attributes update state
This commit is contained in:
parent
ec1e118346
commit
94a8ddbd0f
1 changed files with 6 additions and 1 deletions
|
|
@ -124,8 +124,9 @@ class CollectHierarchy(
|
|||
project_name, shot_instances)
|
||||
|
||||
for instance in shot_instances:
|
||||
self.log.debug("Processing instance: `{}` ...".format(instance))
|
||||
folder_path = instance.data["folderPath"]
|
||||
self.log.debug(
|
||||
f"Processing instance: `{folder_path} {instance}` ...")
|
||||
|
||||
shot_data = {
|
||||
"entity_type": "folder",
|
||||
|
|
@ -167,6 +168,10 @@ class CollectHierarchy(
|
|||
continue
|
||||
|
||||
shot_data["attributes"][shot_attr] = attr_value
|
||||
else:
|
||||
self.log.debug(
|
||||
"Shot attributes will not be updated."
|
||||
)
|
||||
|
||||
# Split by '/' for AYON where asset is a path
|
||||
name = folder_path.split("/")[-1]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue