move ASSIST to constant

This commit is contained in:
Jakub Jezek 2023-02-21 16:38:54 +01:00 committed by Kayla Man
parent 02b69f8ba8
commit 888f436def
4 changed files with 6 additions and 3 deletions

View file

@ -0,0 +1,4 @@
import os
ASSIST = bool(os.getenv("NUKEASSIST"))

View file

@ -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,

View 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__)

View file

@ -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