AYON: 3dsMax settings (#5401)

* create copy of 3dsmax settings instead of removing it

* keep '3dsmax' as 'adsk_3dsmax'
This commit is contained in:
Jakub Trllo 2023-08-03 15:08:19 +02:00 committed by GitHub
parent 8aff65143d
commit c9cf6646f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 5 deletions

View file

@ -14,7 +14,7 @@ class AddLastWorkfileToLaunchArgs(PreLaunchHook):
# Execute after workfile template copy
order = 10
app_groups = {
"3dsmax",
"3dsmax", "adsk_3dsmax",
"maya",
"nuke",
"nukex",

View file

@ -14,7 +14,7 @@ class ForceStartupScript(PreLaunchHook):
Hook `GlobalHostDataHook` must be executed before this hook.
"""
app_groups = {"3dsmax"}
app_groups = {"3dsmax", "adsk_3dsmax"}
order = 11
launch_types = {LaunchTypes.local}

View file

@ -13,7 +13,7 @@ class InjectPythonPath(PreLaunchHook):
Hook `GlobalHostDataHook` must be executed before this hook.
"""
app_groups = {"3dsmax"}
app_groups = {"3dsmax", "adsk_3dsmax"}
launch_types = {LaunchTypes.local}
def execute(self):

View file

@ -124,8 +124,6 @@ def _convert_applications_system_settings(
# Applications settings
ayon_apps = addon_settings["applications"]
if "adsk_3dsmax" in ayon_apps:
ayon_apps["3dsmax"] = ayon_apps.pop("adsk_3dsmax")
additional_apps = ayon_apps.pop("additional_apps")
applications = _convert_applications_groups(