From 6d35ef2bd130a98a33256e85ec803f5b7b06d7ec Mon Sep 17 00:00:00 2001 From: Cyprien CAILLOT Date: Wed, 11 Sep 2024 15:07:15 +0200 Subject: [PATCH] Bug: Fix redefinition of variable in set_viewers_colorspace --- openpype/hosts/nuke/api/lib.py | 6 +++--- openpype/hosts/nuke/api/workfile_template_builder.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/openpype/hosts/nuke/api/lib.py b/openpype/hosts/nuke/api/lib.py index cdefd05c114..7facf6092e5 100644 --- a/openpype/hosts/nuke/api/lib.py +++ b/openpype/hosts/nuke/api/lib.py @@ -1995,9 +1995,9 @@ def set_viewers_colorspace(self, viewer_dict): nv.setInput(i, n) # set copied knobs - for k, v in copy_knobs.items(): - print(k, v) - nv[k].setValue(v) + for k, value in copy_knobs.items(): + print(k, value) + nv[k].setValue(value) # set viewerProcess nv["viewerProcess"].setValue(str(viewer_dict["viewerProcess"])) diff --git a/openpype/hosts/nuke/api/workfile_template_builder.py b/openpype/hosts/nuke/api/workfile_template_builder.py index ee9f75d10d8..31b1bb5ec09 100644 --- a/openpype/hosts/nuke/api/workfile_template_builder.py +++ b/openpype/hosts/nuke/api/workfile_template_builder.py @@ -556,7 +556,7 @@ class NukePlaceholderCreatePlugin( NukePlaceholderPlugin, PlaceholderCreateMixin ): identifier = "nuke.create" - label = "Nuke create" + label = "Nuke Create" def _parse_placeholder_node_data(self, node): placeholder_data = super(