mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
store thumbnail path to instance data
This commit is contained in:
parent
63b47efc51
commit
21411d5062
1 changed files with 1 additions and 0 deletions
|
|
@ -73,6 +73,7 @@ class ExtractThumbnailFromSource(pyblish.api.InstancePlugin):
|
|||
"Adding thumbnail representation: {}".format(new_repre)
|
||||
)
|
||||
instance.data["representations"].append(new_repre)
|
||||
instance.data["thumbnailPath"] = dst_filepath
|
||||
|
||||
def _create_thumbnail(self, context, thumbnail_source):
|
||||
if not thumbnail_source:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue