Change logic into correct setting.

This commit is contained in:
Allan Ihsan 2022-06-24 14:10:29 +03:00
parent c6d473f6b0
commit 3968e1607e

View file

@ -65,14 +65,14 @@ class ExtractPlayblast(openpype.api.Extractor):
# used, if not then the asset resolution is
# used
if width_preset != 0:
preset["width"] = width_preset
preset["width"] = instance_width
else:
preset['width'] = instance_width
preset['width'] = width_preset
if height_preset != 0:
preset['height'] = height_preset
else:
preset['height'] = instance_height
else:
preset['height'] = height_preset
preset['start_frame'] = start
preset['end_frame'] = end