mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
fixed parents check
This commit is contained in:
parent
9f5f1403fc
commit
904be8c666
1 changed files with 6 additions and 1 deletions
|
|
@ -81,7 +81,12 @@ class ExtractHierarchyToAvalon(pyblish.api.ContextPlugin):
|
|||
})
|
||||
unarchive_entity = None
|
||||
for archived_entity in archived_entities:
|
||||
if data["parents"] == archived_entity:
|
||||
archived_parents = (
|
||||
archived_entity
|
||||
.get("data", {})
|
||||
.get("parents")
|
||||
)
|
||||
if data["parents"] == archived_parents:
|
||||
unarchive_entity = archived_entity
|
||||
break
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue