diff --git a/openpype/hosts/nuke/__init__.py b/openpype/hosts/nuke/__init__.py index 60b37ce1dd..4402d0b48e 100644 --- a/openpype/hosts/nuke/__init__.py +++ b/openpype/hosts/nuke/__init__.py @@ -18,7 +18,13 @@ def add_implementation_envs(env, _app): new_nuke_paths.append(norm_path) env["NUKE_PATH"] = os.pathsep.join(new_nuke_paths) - env.pop("QT_AUTO_SCREEN_SCALE_FACTOR", None) + # NOTE: Poping of the key is right way. But is commented because there is + # a bug in `app_launcher.py` which only change values and not remove + # existing. + # Fixed with https://github.com/pypeclub/OpenPype/pull/2655 + # but this fix requires new build + # env.pop("QT_AUTO_SCREEN_SCALE_FACTOR", None) + env["QT_AUTO_SCREEN_SCALE_FACTOR"] = "" # Try to add QuickTime to PATH quick_time_path = "C:/Program Files (x86)/QuickTime/QTSystem"