mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
Merge pull request #4029 from pypeclub/bugfix/standalone_publisher_thumbnail_publishing
StandalonePublisher: Fix thumbnail publishing
This commit is contained in:
commit
579db01314
2 changed files with 2 additions and 1 deletions
|
|
@ -118,6 +118,7 @@ class ExtractThumbnailSP(pyblish.api.InstancePlugin):
|
|||
'files': filename,
|
||||
"stagingDir": staging_dir,
|
||||
"tags": ["thumbnail", "delete"],
|
||||
"thumbnail": True
|
||||
}
|
||||
if width and height:
|
||||
representation["width"] = width
|
||||
|
|
|
|||
|
|
@ -151,7 +151,7 @@ class IntegrateFtrackInstance(pyblish.api.InstancePlugin):
|
|||
first_thumbnail_component = None
|
||||
first_thumbnail_component_repre = None
|
||||
|
||||
if has_movie_review:
|
||||
if not review_representations or has_movie_review:
|
||||
for repre in thumbnail_representations:
|
||||
repre_path = self._get_repre_path(instance, repre, False)
|
||||
if not repre_path:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue