mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Update client/ayon_core/plugins/publish/extract_thumbnail.py
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
This commit is contained in:
parent
c0db02f7b5
commit
4bb0e14106
1 changed files with 1 additions and 4 deletions
|
|
@ -356,12 +356,9 @@ class ExtractThumbnail(pyblish.api.InstancePlugin):
|
|||
continue
|
||||
|
||||
has_review_tag = "review" in tags
|
||||
if not has_review_tag and not self._is_valid_images_repre(repre):
|
||||
continue
|
||||
|
||||
if has_review_tag:
|
||||
review_repres.append(repre)
|
||||
else:
|
||||
elif self._is_valid_images_repre(repre):
|
||||
other_repres.append(repre)
|
||||
|
||||
return review_repres + other_repres
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue