temporary fix for nuke

This commit is contained in:
Jakub Trllo 2022-02-04 15:28:14 +01:00
parent 78d0b8c654
commit ecf0da7721

View file

@ -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"