mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 08:54:53 +01:00
hound fix
This commit is contained in:
parent
dac51f41ec
commit
90f12d15e0
1 changed files with 3 additions and 6 deletions
|
|
@ -47,16 +47,13 @@ class ValidateResolutionSetting(pyblish.api.InstancePlugin,
|
|||
asset_resolution_data = asset_resolution["data"]
|
||||
# Set project resolution
|
||||
project_width = int(
|
||||
project_resolution_data.get("resolutionWidth", 1920)
|
||||
)
|
||||
project_resolution_data.get("resolutionWidth", 1920))
|
||||
project_height = int(
|
||||
project_resolution_data.get("resolutionHeight", 1080))
|
||||
width = int(
|
||||
asset_resolution_data.get("resolutionWidth", project_width)
|
||||
)
|
||||
asset_resolution_data.get("resolutionWidth", project_width))
|
||||
height = int(
|
||||
asset_resolution_data.get("resolutionHeight", project_height)
|
||||
)
|
||||
asset_resolution_data.get("resolutionHeight", project_height))
|
||||
|
||||
return width, height
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue