mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merge pull request #3985 from pypeclub/bugfix/missing_tags_in_integrate_ftrack
Fix - tags might be missing on representation
This commit is contained in:
commit
a983c7bc37
1 changed files with 2 additions and 2 deletions
|
|
@ -169,7 +169,7 @@ class IntegrateFtrackInstance(pyblish.api.InstancePlugin):
|
|||
thumbnail_item["thumbnail"] = True
|
||||
|
||||
# Create copy of item before setting location
|
||||
if "delete" not in repre["tags"]:
|
||||
if "delete" not in repre.get("tags", []):
|
||||
src_components_to_add.append(copy.deepcopy(thumbnail_item))
|
||||
# Create copy of first thumbnail
|
||||
if first_thumbnail_component is None:
|
||||
|
|
@ -284,7 +284,7 @@ class IntegrateFtrackInstance(pyblish.api.InstancePlugin):
|
|||
not_first_components.append(review_item)
|
||||
|
||||
# Create copy of item before setting location
|
||||
if "delete" not in repre["tags"]:
|
||||
if "delete" not in repre.get("tags", []):
|
||||
src_components_to_add.append(copy.deepcopy(review_item))
|
||||
|
||||
# Set location
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue