mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
OP-2414 - Hound
This commit is contained in:
parent
c277cb3903
commit
3497822381
2 changed files with 7 additions and 7 deletions
|
|
@ -135,7 +135,7 @@ def setup_startup_scripts():
|
|||
log.warning(
|
||||
"Failed to copy {0} to {1}! "
|
||||
"Defaulting to Avalon TOONBOOM_GLOBAL_SCRIPT_LOCATION."
|
||||
.format(avalon_harmony_startup, env_harmony_startup))
|
||||
.format(avalon_harmony_startup, env_harmony_startup))
|
||||
|
||||
os.environ["TOONBOOM_GLOBAL_SCRIPT_LOCATION"] = avalon_dcc_dir
|
||||
else:
|
||||
|
|
@ -169,8 +169,8 @@ def check_libs():
|
|||
|
||||
else:
|
||||
log.error(("Cannot find OpenHarmony library. "
|
||||
"Please set path to it in LIB_OPENHARMONY_PATH "
|
||||
"environment variable."))
|
||||
"Please set path to it in LIB_OPENHARMONY_PATH "
|
||||
"environment variable."))
|
||||
raise RuntimeError("Missing OpenHarmony library.")
|
||||
|
||||
|
||||
|
|
@ -206,6 +206,7 @@ def launch(application_path, *args):
|
|||
host_tools.show_workfiles(save=False)
|
||||
ProcessContext.execute_in_main_thread(check_workfiles_tool)
|
||||
|
||||
|
||||
def check_workfiles_tool():
|
||||
if ProcessContext.workfile_tool.isVisible():
|
||||
ProcessContext.execute_in_main_thread(check_workfiles_tool)
|
||||
|
|
@ -226,6 +227,7 @@ def open_empty_workfile():
|
|||
|
||||
launch_zip_file(zip_file)
|
||||
|
||||
|
||||
def get_local_harmony_path(filepath):
|
||||
"""From the provided path get the equivalent local Harmony path."""
|
||||
basename = os.path.splitext(os.path.basename(filepath))[0]
|
||||
|
|
@ -314,9 +316,6 @@ def launch_zip_file(filepath):
|
|||
return
|
||||
|
||||
print("Launching {}".format(scene_path))
|
||||
|
||||
#kwargs = get_non_python_app_args()
|
||||
|
||||
kwargs = _get_kwargs()
|
||||
process = subprocess.Popen(
|
||||
[ProcessContext.application_path, scene_path],
|
||||
|
|
|
|||
|
|
@ -43,7 +43,8 @@ class ImportPaletteLoader(api.Loader):
|
|||
|
||||
msg = "Updated {}.".format(subset_name)
|
||||
msg += " You need to reload the scene to see the changes.\n"
|
||||
msg += "Please save workfile when ready and use Workfiles to reopen it."
|
||||
msg += "Please save workfile when ready and use Workfiles "
|
||||
msg += "to reopen it."
|
||||
|
||||
harmony.send(
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue