bugfix/OP-3356_Maya-Review-Image-plane-attribute

This commit is contained in:
Kayla Man 2022-07-26 08:34:41 +08:00
parent 5d0108f21b
commit 84eb91acb7

View file

@ -116,7 +116,11 @@ class ExtractThumbnail(openpype.api.Extractor):
path = capture.capture(**preset)
playblast = self._fix_playblast_output_path(path)
_, thumbnail = os.path.split(playblast)
image_plane = instance.data.get("imagePlane")
if image_plane:
_, thumbnail = os.path.split(playblast)
else:
return
self.log.info("file list {}".format(thumbnail))