mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merge branch 'develop' into rvx-merge-sequence-action
This commit is contained in:
commit
87169baf8b
6 changed files with 12 additions and 3 deletions
|
|
@ -2,6 +2,7 @@
|
|||
"""Package for handling AYON command line arguments."""
|
||||
import os
|
||||
import sys
|
||||
import logging
|
||||
import code
|
||||
import traceback
|
||||
from pathlib import Path
|
||||
|
|
@ -306,6 +307,8 @@ def _add_addons(addons_manager):
|
|||
|
||||
|
||||
def main(*args, **kwargs):
|
||||
logging.basicConfig()
|
||||
|
||||
initialize_ayon_connection()
|
||||
python_path = os.getenv("PYTHONPATH", "")
|
||||
split_paths = python_path.split(os.pathsep)
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ class AddLastWorkfileToLaunchArgs(PreLaunchHook):
|
|||
"openrv",
|
||||
"cinema4d",
|
||||
"silhouette",
|
||||
"gaffer",
|
||||
}
|
||||
launch_types = {LaunchTypes.local}
|
||||
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ class OCIOEnvHook(PreLaunchHook):
|
|||
"openrv",
|
||||
"cinema4d",
|
||||
"silhouette",
|
||||
"gaffer",
|
||||
}
|
||||
launch_types = set()
|
||||
|
||||
|
|
|
|||
|
|
@ -50,8 +50,10 @@ from .attribute_definitions import (
|
|||
)
|
||||
|
||||
from .env_tools import (
|
||||
compute_env_variables_structure,
|
||||
env_value_to_bool,
|
||||
get_paths_from_environ,
|
||||
merge_env_variables,
|
||||
)
|
||||
|
||||
from .terminal import Terminal
|
||||
|
|
@ -166,8 +168,10 @@ __all__ = [
|
|||
"path_to_subprocess_arg",
|
||||
"CREATE_NO_WINDOW",
|
||||
|
||||
"compute_env_variables_structure",
|
||||
"env_value_to_bool",
|
||||
"get_paths_from_environ",
|
||||
"merge_env_variables",
|
||||
|
||||
"ToolNotFoundError",
|
||||
"find_executable",
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ from ayon_core.settings import get_project_settings
|
|||
from ayon_core.lib import is_func_signature_supported
|
||||
from ayon_core.lib.events import QueuedEventSystem
|
||||
from ayon_core.lib.attribute_definitions import get_default_values
|
||||
from ayon_core.host import IWorkfileHost
|
||||
from ayon_core.host import IWorkfileHost, IPublishHost
|
||||
from ayon_core.pipeline import Anatomy
|
||||
from ayon_core.pipeline.template_data import get_template_data
|
||||
from ayon_core.pipeline.plugin_discover import DiscoverResult
|
||||
|
|
@ -49,7 +49,7 @@ from .creator_plugins import (
|
|||
discover_convertor_plugins,
|
||||
)
|
||||
if typing.TYPE_CHECKING:
|
||||
from ayon_core.host import HostBase, IPublishHost
|
||||
from ayon_core.host import HostBase
|
||||
from ayon_core.lib import AbstractAttrDef
|
||||
from ayon_core.lib.events import EventCallback, Event
|
||||
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ class ValidateCurrentSaveFile(pyblish.api.ContextPlugin):
|
|||
label = "Validate File Saved"
|
||||
order = pyblish.api.ValidatorOrder - 0.1
|
||||
hosts = ["fusion", "houdini", "max", "maya", "nuke", "substancepainter",
|
||||
"cinema4d", "silhouette"]
|
||||
"cinema4d", "silhouette", "gaffer"]
|
||||
actions = [SaveByVersionUpAction, ShowWorkfilesAction]
|
||||
|
||||
def process(self, context):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue