Update client/ayon_core/plugins/publish/extract_thumbnail.py

Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
This commit is contained in:
Kayla Man 2025-04-29 19:10:01 +08:00 committed by GitHub
parent c0db02f7b5
commit 4bb0e14106
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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