mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
hound comments
This commit is contained in:
parent
962984d296
commit
e1950a175f
3 changed files with 3 additions and 5 deletions
|
|
@ -5,7 +5,7 @@ FUSION_HOST_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||||
|
|
||||||
FUSION_PROFILE_VERSION = 16
|
FUSION_PROFILE_VERSION = 16
|
||||||
|
|
||||||
# FUSION_PROFILE_VERSION variable is used by the pre-launch hooks.
|
# FUSION_PROFILE_VERSION variable is used by the pre-launch hooks.
|
||||||
# Since Fusion v16, the profile folder became project-specific,
|
# Since Fusion v16, the profile folder became project-specific,
|
||||||
# but then it was abandoned by BlackmagicDesign devs, and now, despite it is
|
# but then it was abandoned by BlackmagicDesign devs, and now, despite it is
|
||||||
# already Fusion version 18, still FUSION16_PROFILE_DIR is used.
|
# already Fusion version 18, still FUSION16_PROFILE_DIR is used.
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ import os
|
||||||
import shutil
|
import shutil
|
||||||
import platform
|
import platform
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from openpype.lib import PreLaunchHook, ApplicationLaunchFailed
|
from openpype.lib import PreLaunchHook
|
||||||
from openpype.hosts.fusion import FUSION_PROFILE_VERSION as VERSION
|
from openpype.hosts.fusion import FUSION_PROFILE_VERSION as VERSION
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -11,7 +11,7 @@ class FusionCopyPrefsPrelaunch(PreLaunchHook):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
app_groups = ["fusion"]
|
app_groups = ["fusion"]
|
||||||
|
|
||||||
def get_fusion_profile_name(self) -> str:
|
def get_fusion_profile_name(self) -> str:
|
||||||
"""usually set to 'Default', unless FUSION16_PROFILE is set"""
|
"""usually set to 'Default', unless FUSION16_PROFILE is set"""
|
||||||
return os.getenv(f"FUSION{VERSION}_PROFILE", "Default")
|
return os.getenv(f"FUSION{VERSION}_PROFILE", "Default")
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,4 @@
|
||||||
import os
|
import os
|
||||||
import shutil
|
|
||||||
import platform
|
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from openpype.lib import PreLaunchHook, ApplicationLaunchFailed
|
from openpype.lib import PreLaunchHook, ApplicationLaunchFailed
|
||||||
from openpype.hosts.fusion import FUSION_HOST_DIR
|
from openpype.hosts.fusion import FUSION_HOST_DIR
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue