mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Reorganized position of context thumbnail
This commit is contained in:
parent
0ab00dbb4e
commit
daa9effd04
1 changed files with 5 additions and 3 deletions
|
|
@ -96,10 +96,12 @@ class ExtractThumbnailFromSource(pyblish.api.InstancePlugin):
|
|||
if not profile_config:
|
||||
return
|
||||
|
||||
product_name = instance.data["productName"]
|
||||
self.log.debug(
|
||||
"Processing instance with product name {}".format(product_name)
|
||||
context_thumbnail_path = self._create_context_thumbnail(
|
||||
instance.context, profile_config
|
||||
)
|
||||
if context_thumbnail_path:
|
||||
instance.context.data["thumbnailPath"] = context_thumbnail_path
|
||||
|
||||
thumbnail_source = instance.data.get("thumbnailSource")
|
||||
if not thumbnail_source:
|
||||
self.log.debug("Thumbnail source not filled. Skipping.")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue