fixed default paths in nuke host and removed defaults for nuke x

This commit is contained in:
iLLiCiTiT 2021-05-18 13:50:50 +02:00
parent 5c366f2ee9
commit 7bdc937f69
2 changed files with 5 additions and 12 deletions

View file

@ -6,9 +6,10 @@ def add_implementation_envs(env):
# Add requirements to NUKE_PATH
pype_root = os.environ["OPENPYPE_REPOS_ROOT"]
new_nuke_paths = [
os.path.join(pype_root, "openpype", "hosts", "maya", "startup"),
os.path.join(pype_root, "repos", "avalon-core", "setup", "maya"),
os.path.join(pype_root, "tools", "mayalookassigner")
os.path.join(pype_root, "openpype", "hosts", "nuke", "startup"),
os.path.join(
pype_root, "repos", "avalon-core", "setup", "nuke", "nuke_path"
)
]
old_nuke_path = env.get("NUKE_PATH") or ""
for path in old_nuke_path.split(os.pathsep):

View file

@ -203,15 +203,7 @@
"icon": "{}/app_icons/nuke.png",
"host_name": "nuke",
"environment": {
"NUKE_PATH": [
"{OPENPYPE_REPOS_ROOT}/repos/avalon-core/setup/nuke/nuke_path",
"{OPENPYPE_REPOS_ROOT}/openpype/hosts/nuke/startup",
"{OPENPYPE_STUDIO_PLUGINS}/nuke"
],
"PATH": {
"windows": "C:/Program Files (x86)/QuickTime/QTSystem/;{PATH}"
},
"LOGLEVEL": "DEBUG"
"NUKE_PATH": "{OPENPYPE_STUDIO_PLUGINS}/nuke"
},
"variants": {
"13-0": {