mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
feat(nks): adding comment making more clear the process
This commit is contained in:
parent
8f3f3a4d92
commit
4342db71ce
1 changed files with 8 additions and 5 deletions
|
|
@ -74,11 +74,14 @@ class CollectHierarchyInstance(pyblish.api.ContextPlugin):
|
|||
|
||||
# and finding only hierarchical tag
|
||||
if "hierarchy" in t_type.lower():
|
||||
match = next(
|
||||
(k for k, v in assets_shared.items()
|
||||
if (v["_clipIn"] == clip_in)
|
||||
and (v["_clipOut"] == clip_out)
|
||||
), False)
|
||||
# check if any clip with the same clip range
|
||||
# is alerady in asset shared so
|
||||
match = next((
|
||||
k for k, v in assets_shared.items()
|
||||
if (v["_clipIn"] == clip_in)
|
||||
and (v["_clipOut"] == clip_out)
|
||||
), False)
|
||||
|
||||
self.log.warning("Clip matching name: {}".format(match))
|
||||
self.log.debug(
|
||||
"__ assets_shared[match]: {}".format(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue