mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
minor fixes in global plugins
This commit is contained in:
parent
70306a1229
commit
c4f74a6aed
3 changed files with 3 additions and 3 deletions
|
|
@ -379,7 +379,7 @@ class CollectAnatomyInstanceData(pyblish.api.ContextPlugin):
|
|||
def _fill_folder_data(self, instance, project_entity, anatomy_data):
|
||||
# QUESTION should we make sure that all folder data are poped if
|
||||
# folder data cannot be found?
|
||||
# - 'asset', 'hierarchy', 'parent', 'folder'
|
||||
# - 'folder', 'hierarchy', 'parent', 'folder'
|
||||
folder_entity = instance.data.get("folderEntity")
|
||||
if folder_entity:
|
||||
folder_name = folder_entity["name"]
|
||||
|
|
|
|||
|
|
@ -122,7 +122,7 @@ class IntegrateInputLinksAYON(pyblish.api.ContextPlugin):
|
|||
new_links_by_type,
|
||||
"generative",
|
||||
input_version,
|
||||
version_entity["_id"],
|
||||
version_entity["id"],
|
||||
)
|
||||
|
||||
def _get_existing_links(self, project_name, link_type, entity_ids):
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ class IntegrateVersionAttributes(pyblish.api.ContextPlugin):
|
|||
continue
|
||||
|
||||
self.log.debug("Updating attributes on version {} to {}".format(
|
||||
version_entity["_id"], str(filtered_attributes)
|
||||
version_entity["id"], str(filtered_attributes)
|
||||
))
|
||||
op_session.update_entity(
|
||||
project_name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue