File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed
Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -1261,12 +1261,10 @@ def detect_project_resolution_mismatch(task_entity=None):
12611261 attributes = task_entity ["attrib" ]
12621262 width = attributes ["resolutionWidth" ]
12631263 height = attributes ["resolutionHeight" ]
1264- pixel_aspect_ratio = round (attributes ["pixelAspect" ], 2 )
12651264
12661265 resolve_project = get_current_resolve_project ()
12671266 resolve_width = resolve_project .GetSetting ("timelineResolutionWidth" )
12681267 resolve_height = resolve_project .GetSetting ("timelineResolutionHeight" )
1269- resolve_pa = resolve_project .SetSetting ("timelinePixelAspectRatio" )
12701268
12711269 if (str (width ), str (height )) != (resolve_width , resolve_height ):
12721270 return (
Original file line number Diff line number Diff line change 88import sys
99
1010from pyblish import api as pyblish
11- from qtpy import QtWidgets , QtCore , QtGui
11+ from qtpy import QtWidgets
1212
1313from ayon_core .lib import Logger
1414from ayon_core .pipeline import (
@@ -86,9 +86,6 @@ def install(self):
8686 get_resolve_module ()
8787
8888 def open_workfile (self , filepath ):
89- settings = get_project_settings (
90- get_current_project_name ()
91- )
9289 success = open_file (filepath )
9390 if success :
9491 self ._show_ayon_settings_confirmation_windows ()
You can’t perform that action at this time.
0 commit comments