mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 08:54:53 +01:00
move ASSIST to constant
This commit is contained in:
parent
02b69f8ba8
commit
888f436def
4 changed files with 6 additions and 3 deletions
4
openpype/hosts/nuke/api/constants.py
Normal file
4
openpype/hosts/nuke/api/constants.py
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
import os
|
||||
|
||||
|
||||
ASSIST = bool(os.getenv("NUKEASSIST"))
|
||||
|
|
@ -50,7 +50,7 @@ from openpype.pipeline.colorspace import (
|
|||
from openpype.pipeline.workfile import BuildWorkfile
|
||||
|
||||
from . import gizmo_menu
|
||||
from .utils import ASSIST
|
||||
from .constants import ASSIST
|
||||
|
||||
from .workio import (
|
||||
save_file,
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ from .workio import (
|
|||
work_root,
|
||||
current_file
|
||||
)
|
||||
from .utils import ASSIST
|
||||
from .constants import ASSIST
|
||||
|
||||
log = Logger.get_logger(__name__)
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ 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