Merge branch 'develop' into enhancement/OP-2848_move-loader-logic-from-avalon-to-openpype

This commit is contained in:
Jakub Trllo 2022-03-15 11:45:28 +01:00
commit 348ccc68b1
34 changed files with 363 additions and 207 deletions

View file

@ -1,4 +1,4 @@
from avalon import api, style
from avalon import api
from openpype.api import Logger
from openpype.hosts.nuke.api.lib import set_avalon_knob_data
@ -7,7 +7,7 @@ class RepairOldLoaders(api.InventoryAction):
label = "Repair Old Loaders"
icon = "gears"
color = style.colors.alert
color = "#cc0000"
log = Logger.get_logger(__name__)

View file

@ -1,4 +1,4 @@
from avalon import style, io
from avalon import io
import nuke
import nukescripts
@ -27,7 +27,7 @@ class LoadBackdropNodes(load.LoaderPlugin):
label = "Iport Nuke Nodes"
order = 0
icon = "eye"
color = style.colors.light
color = "white"
node_color = "0x7533c1ff"
def load(self, context, name, namespace, data):

View file

@ -1,7 +1,9 @@
import json
from collections import OrderedDict
import nuke
from avalon import style, io
from avalon import io
from openpype.pipeline import (
load,
get_representation_path,
@ -22,7 +24,7 @@ class LoadEffects(load.LoaderPlugin):
label = "Load Effects - nodes"
order = 0
icon = "cc"
color = style.colors.light
color = "white"
ignore_attr = ["useLifetime"]

View file

@ -3,7 +3,8 @@ from collections import OrderedDict
import nuke
from avalon import style, io
from avalon import io
from openpype.pipeline import (
load,
get_representation_path,
@ -25,7 +26,7 @@ class LoadEffectsInputProcess(load.LoaderPlugin):
label = "Load Effects - Input Process"
order = 0
icon = "eye"
color = style.colors.alert
color = "#cc0000"
ignore_attr = ["useLifetime"]
def load(self, context, name, namespace, data):

View file

@ -1,5 +1,7 @@
import nuke
from avalon import style, io
from avalon import io
from openpype.pipeline import (
load,
get_representation_path,
@ -25,7 +27,7 @@ class LoadGizmo(load.LoaderPlugin):
label = "Load Gizmo"
order = 0
icon = "dropbox"
color = style.colors.light
color = "white"
node_color = "0x75338eff"
def load(self, context, name, namespace, data):

View file

@ -1,5 +1,7 @@
from avalon import style, io
import nuke
from avalon import io
from openpype.pipeline import (
load,
get_representation_path,
@ -26,7 +28,7 @@ class LoadGizmoInputProcess(load.LoaderPlugin):
label = "Load Gizmo - Input Process"
order = 0
icon = "eye"
color = style.colors.alert
color = "#cc0000"
node_color = "0x7533c1ff"
def load(self, context, name, namespace, data):

View file

@ -1,5 +1,7 @@
import nuke
from avalon import style, io
from avalon import io
from openpype.pipeline import (
load,
get_representation_path,
@ -21,7 +23,7 @@ class LinkAsGroup(load.LoaderPlugin):
label = "Load Precomp"
order = 0
icon = "file"
color = style.colors.alert
color = "#cc0000"
def load(self, context, name, namespace, data):
# for k, v in context.items():