From b1af13250859360d0f36258371914d0df15d8c58 Mon Sep 17 00:00:00 2001 From: Jakub Jezek Date: Thu, 8 Oct 2020 11:07:17 +0200 Subject: [PATCH] fix(nks): order of plugin, fix(nuke): typo in namespace --- pype/hosts/nuke/lib.py | 6 +++--- .../plugins/nukestudio/publish/collect_hierarchy_context.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pype/hosts/nuke/lib.py b/pype/hosts/nuke/lib.py index 8c0e37b15d7..7c5a48c1005 100644 --- a/pype/hosts/nuke/lib.py +++ b/pype/hosts/nuke/lib.py @@ -1065,7 +1065,7 @@ class BuildWorkfile(WorkfileSettings): Building first version of workfile. Settings are taken from presets and db. It will add all subsets - in last version for defined representaions + in last version for defined representations Arguments: variable (type): description @@ -1233,7 +1233,7 @@ def process(self, log.info("Building Loader to: `{}`".format(name)) version = subset["version"] log.info("Version to: `{}`".format(version["name"])) - representations = subset["representaions"] + representations = subset["representations"] for repr in representations: rn = self.read_loader(repr) rn["xpos"].setValue(self.xpos) @@ -1247,7 +1247,7 @@ def process(self, if len(lut_subset) > 0: lsub = lut_subset[0] - fxn = self.effect_loader(lsub["representaions"][-1]) + fxn = self.effect_loader(lsub["representations"][-1]) fxn_ypos = fxn["ypos"].value() fxn["ypos"].setValue(fxn_ypos - 100) nodes_backdrop.append(fxn) diff --git a/pype/plugins/nukestudio/publish/collect_hierarchy_context.py b/pype/plugins/nukestudio/publish/collect_hierarchy_context.py index a41e987bdb7..4fc02a4b3da 100644 --- a/pype/plugins/nukestudio/publish/collect_hierarchy_context.py +++ b/pype/plugins/nukestudio/publish/collect_hierarchy_context.py @@ -13,7 +13,7 @@ class CollectHierarchyInstance(pyblish.api.ContextPlugin): """ label = "Collect Hierarchy Clip" - order = pyblish.api.CollectorOrder + 0.101 + order = pyblish.api.CollectorOrder + 0.102 families = ["clip"] def convert_to_entity(self, key, value):