mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
moving ASSIST switch to utils
This commit is contained in:
parent
f3431c6279
commit
fe163ab19b
4 changed files with 5 additions and 8 deletions
|
|
@ -1,4 +1,3 @@
|
|||
import os
|
||||
from .workio import (
|
||||
file_extensions,
|
||||
has_unsaved_changes,
|
||||
|
|
@ -51,8 +50,6 @@ from .utils import (
|
|||
get_colorspace_list
|
||||
)
|
||||
|
||||
ASSIST = bool(os.getenv("NUKEASSIST"))
|
||||
|
||||
__all__ = (
|
||||
"file_extensions",
|
||||
"has_unsaved_changes",
|
||||
|
|
@ -95,7 +92,5 @@ __all__ = (
|
|||
"create_write_node",
|
||||
|
||||
"colorspace_exists_on_node",
|
||||
"get_colorspace_list",
|
||||
|
||||
"ASSIST"
|
||||
"get_colorspace_list"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -49,7 +49,8 @@ from openpype.pipeline.colorspace import (
|
|||
)
|
||||
from openpype.pipeline.workfile import BuildWorkfile
|
||||
|
||||
from . import gizmo_menu, ASSIST
|
||||
from . import gizmo_menu
|
||||
from .utils import ASSIST
|
||||
|
||||
from .workio import (
|
||||
save_file,
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ from .workio import (
|
|||
work_root,
|
||||
current_file
|
||||
)
|
||||
from . import ASSIST
|
||||
from .utils import ASSIST
|
||||
|
||||
log = Logger.get_logger(__name__)
|
||||
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ import nuke
|
|||
from openpype import resources
|
||||
from .lib import maintained_selection
|
||||
|
||||
ASSIST = bool(os.getenv("NUKEASSIST"))
|
||||
|
||||
def set_context_favorites(favorites=None):
|
||||
""" Adding favorite folders to nuke's browser
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue