mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
Fix comments.
This commit is contained in:
parent
0c1688eaa5
commit
c6d473f6b0
1 changed files with 3 additions and 3 deletions
|
|
@ -55,14 +55,14 @@ class ExtractPlayblast(openpype.api.Extractor):
|
|||
# Set resolution variables from capture presets
|
||||
width_preset = capture_presets["Resolution"]["width"]
|
||||
height_preset = capture_presets["Resolution"]["height"]
|
||||
# Set resolution variables from instance values
|
||||
# Set resolution variables from asset values
|
||||
instance_width = instance.context.data.get("resolutionWidth")
|
||||
instance_height = instance.context.data.get("resolutionHeight")
|
||||
preset['camera'] = camera
|
||||
|
||||
# Tests if instance resolution width is set,
|
||||
# Tests if project resolution is set,
|
||||
# if it is a value other than zero, that value is
|
||||
# used, if not then the project settings resolution is
|
||||
# used, if not then the asset resolution is
|
||||
# used
|
||||
if width_preset != 0:
|
||||
preset["width"] = width_preset
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue