mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
fix original intnetion of thumbnail created logging
This commit is contained in:
parent
3429d5914f
commit
4f9f7724ac
1 changed files with 3 additions and 2 deletions
|
|
@ -164,7 +164,7 @@ class ExtractThumbnail(pyblish.api.InstancePlugin):
|
|||
instance.context.data["cleanupFullPaths"].append(dst_staging)
|
||||
|
||||
oiio_supported = is_oiio_supported()
|
||||
repre_thumb_created = False
|
||||
thumbnail_created = False
|
||||
for repre in filtered_repres:
|
||||
# Reset for each iteration to handle cases where multiple
|
||||
# reviewable thumbnails are needed
|
||||
|
|
@ -241,6 +241,7 @@ class ExtractThumbnail(pyblish.api.InstancePlugin):
|
|||
if not repre_thumb_created:
|
||||
continue
|
||||
|
||||
thumbnail_created = True
|
||||
if len(explicit_repres) > 1:
|
||||
repre_name = "thumbnail_{}".format(repre["outputName"])
|
||||
else:
|
||||
|
|
@ -294,7 +295,7 @@ class ExtractThumbnail(pyblish.api.InstancePlugin):
|
|||
# There is no need to create more then one thumbnail
|
||||
break
|
||||
|
||||
if not repre_thumb_created:
|
||||
if not thumbnail_created:
|
||||
self.log.warning("Thumbnail has not been created.")
|
||||
|
||||
def _is_review_instance(self, instance):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue