mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
integrate thumbnails use new structure of published representations
This commit is contained in:
parent
edf48c0149
commit
4a3bf303d4
1 changed files with 4 additions and 1 deletions
|
|
@ -52,9 +52,12 @@ class IntegrateThumbnails(pyblish.api.InstancePlugin):
|
|||
return
|
||||
|
||||
thumb_repre = None
|
||||
for repre in published_repres:
|
||||
thumb_repre_anatomy_data = None
|
||||
for repre_info in published_repres.values():
|
||||
repre = repre_info["representation"]
|
||||
if repre["name"].lower() == "thumbnail":
|
||||
thumb_repre = repre
|
||||
thumb_repre_anatomy_data = repre_info["anatomy_data"]
|
||||
break
|
||||
|
||||
if not thumb_repre:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue