mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Adjust dimensions to grab correct values from asset.
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
parent
aca0c2a52b
commit
e9edb1cb68
1 changed files with 3 additions and 2 deletions
|
|
@ -57,8 +57,9 @@ class ExtractPlayblast(openpype.api.Extractor):
|
|||
width_preset = capture_presets["Resolution"]["width"]
|
||||
height_preset = capture_presets["Resolution"]["height"]
|
||||
# Set resolution variables from asset values
|
||||
asset_width = instance.data.get("resolutionWidth")
|
||||
asset_height = instance.data.get("resolutionHeight")
|
||||
asset_data = instance.data["assetEntity"]["data"]
|
||||
asset_width = asset_data.get("width")
|
||||
asset_height = asset_data.get("height")
|
||||
review_instance_width = instance.data.get("instanceWidth")
|
||||
review_instance_height = instance.data.get("instanceHeight")
|
||||
preset['camera'] = camera
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue