diff --git a/openpype/hosts/nuke/api/__init__.py b/openpype/hosts/nuke/api/__init__.py index 62739bcbf6..c80507e7ea 100644 --- a/openpype/hosts/nuke/api/__init__.py +++ b/openpype/hosts/nuke/api/__init__.py @@ -1,14 +1,12 @@ import os -import sys import nuke import avalon.api import pyblish.api -from pype.api import Logger -from openpype.api import Logger +import openpype from . import lib, menu -log = Logger().get_logger(__name__) +log = openpype.api.Logger().get_logger(__name__) AVALON_CONFIG = os.getenv("AVALON_CONFIG", "pype") HOST_DIR = os.path.dirname(os.path.abspath(openpype.hosts.nuke.__file__)) diff --git a/openpype/settings/defaults/project_settings/nuke.json b/openpype/settings/defaults/project_settings/nuke.json index 826d1268b4..852e041805 100644 --- a/openpype/settings/defaults/project_settings/nuke.json +++ b/openpype/settings/defaults/project_settings/nuke.json @@ -1,15 +1,14 @@ { "general": { - "open_workfile_at_start": false, - "create_initial_workfile": true - }, "menu": { "create": "ctrl+shift+alt+c", "publish": "ctrl+alt+p", "load": "ctrl+alt+l", "manage": "ctrl+alt+m", "build_workfile": "ctrl+alt+b" - } + }, + "open_workfile_at_start": false, + "create_initial_workfile": true }, "create": { "CreateWriteRender": { diff --git a/openpype/settings/entities/schemas/projects_schema/schema_project_nuke.json b/openpype/settings/entities/schemas/projects_schema/schema_project_nuke.json index e5520f459b..5022b75719 100644 --- a/openpype/settings/entities/schemas/projects_schema/schema_project_nuke.json +++ b/openpype/settings/entities/schemas/projects_schema/schema_project_nuke.json @@ -11,6 +11,39 @@ "key": "general", "label": "General", "children": [ + { + "type": "dict", + "collapsible": true, + "key": "menu", + "label": "OpenPype Menu shortcuts", + "children": [ + { + "type": "text", + "key": "create", + "label": "Create..." + }, + { + "type": "text", + "key": "publish", + "label": "Publish..." + }, + { + "type": "text", + "key": "load", + "label": "Load..." + }, + { + "type": "text", + "key": "manage", + "label": "Manage..." + }, + { + "type": "text", + "key": "build_workfile", + "label": "Build Workfile" + } + ] + }, { "type": "boolean", "key": "open_workfile_at_start", @@ -23,39 +56,6 @@ } ] }, - { - "type": "dict", - "collapsible": true, - "key": "menu", - "label": "OpenPype Menu shortcuts", - "children": [ - { - "type": "text", - "key": "create", - "label": "Create..." - }, - { - "type": "text", - "key": "publish", - "label": "Publish..." - }, - { - "type": "text", - "key": "load", - "label": "Load..." - }, - { - "type": "text", - "key": "manage", - "label": "Manage..." - }, - { - "type": "text", - "key": "build_workfile", - "label": "Build Workfile" - } - ] - }, { "type": "dict", "collapsible": true,