Merge pull request #3183 from pypeclub/bugfix/ftrack_review_image_limitation_dev

Ftrack: Review image only if there are no mp4 reviews
This commit is contained in:
Jakub Trllo 2022-05-16 10:12:17 +02:00 committed by GitHub
commit d2f7c593ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -176,7 +176,10 @@ class IntegrateFtrackInstance(pyblish.api.InstancePlugin):
# Add item to component list
component_list.append(thumbnail_item)
if first_thumbnail_component is not None:
if (
not review_representations
and first_thumbnail_component is not None
):
width = first_thumbnail_component_repre.get("width")
height = first_thumbnail_component_repre.get("height")
if not width or not height: