Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
enhancement/OP-7955_Context_Validation_Repair_Action_enhancements
Browse files Browse the repository at this point in the history
  • Loading branch information
Braden Jennings committed Feb 9, 2024
1 parent 1a8fcc6 commit d1db83b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions openpype/hosts/maya/api/lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -2633,13 +2633,16 @@ def reset_scene_resolution():
# value is automatically returned instead
width = task_entity["attrib"].get(
width_key,
asset_data.get(width_key, project_data.get(width_key, 1920)))
asset_data.get(
width_key, project_data.get(width_key, 1920)))
height = task_entity["attrib"].get(
height_key,
asset_data.get(height_key, project_data.get(height_key, 1080)))
asset_data.get(
height_key, project_data.get(height_key, 1080)))
pixelAspect = task_entity["attrib"].get(
pixelAspect_key,
asset_data.get(pixelAspect_key, project_data.get(pixelAspect_key, 1080)))
asset_data.get(
pixelAspect_key, project_data.get(pixelAspect_key, 1080)))

set_scene_resolution(width, height, pixelAspect)

Expand Down

0 comments on commit d1db83b

Please sign in to comment.