Revert "Change logic into correct setting."

This reverts commit 3968e1607e.
This commit is contained in:
Allan Ihsan 2022-06-24 14:30:32 +03:00
parent 3968e1607e
commit 9778d2747b

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"] = instance_width
preset["width"] = width_preset
else:
preset['width'] = width_preset
preset['width'] = instance_width
if height_preset != 0:
preset['height'] = instance_height
else:
preset['height'] = height_preset
else:
preset['height'] = instance_height
preset['start_frame'] = start
preset['end_frame'] = end