mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Use manual thumbnail if present when publishing
This commit is contained in:
parent
68161692f3
commit
f899191fb1
1 changed files with 4 additions and 2 deletions
|
|
@ -92,8 +92,10 @@ class IntegrateThumbnailsAYON(pyblish.api.ContextPlugin):
|
|||
continue
|
||||
|
||||
# Find thumbnail path on instance
|
||||
thumbnail_path = self._get_instance_thumbnail_path(
|
||||
published_repres)
|
||||
thumbnail_source = instance.data.get("thumbnailSource")
|
||||
thumbnail_path = (thumbnail_source or
|
||||
self._get_instance_thumbnail_path(
|
||||
published_repres))
|
||||
if thumbnail_path:
|
||||
self.log.debug((
|
||||
"Found thumbnail path for instance \"{}\"."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue