Setting of openpype database must be higher

Added missed ones
This commit is contained in:
Petr Kalis 2021-04-01 22:27:59 +02:00
parent 73841259bf
commit 306e862824
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 09065aaf6b8617a0af0a6f0f82bb1cabf6b0890e
Subproject commit a51844b29ddef45871b2aa574b7802d79893e6db

View file

@ -140,7 +140,6 @@ def set_openpype_global_environments() -> None:
# Hardcoded default values
os.environ["PYBLISH_GUI"] = "pyblish_pype"
os.environ["OPENPYPE_DATABASE_NAME"] = "openpype" # name of Pype database
# Change scale factor only if is not set
if "QT_AUTO_SCREEN_SCALE_FACTOR" not in os.environ:
os.environ["QT_AUTO_SCREEN_SCALE_FACTOR"] = "1"
@ -562,6 +561,7 @@ def boot():
sys.exit(1)
os.environ["OPENPYPE_MONGO"] = openpype_mongo
os.environ["OPENPYPE_DATABASE_NAME"] = "openpype" # name of Pype database
# ------------------------------------------------------------------------
# Set environments - load OpenPype path from database (if set)