From 0c6c6e605894b845796c15add0c20d6ad42ecf50 Mon Sep 17 00:00:00 2001 From: jrsndlr Date: Wed, 23 Oct 2024 18:29:07 +0200 Subject: [PATCH] Publishing review intermediates - always add anatomy output keyword --- client/ayon_nuke/api/plugin.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/client/ayon_nuke/api/plugin.py b/client/ayon_nuke/api/plugin.py index e6291e1..0e8ebbf 100644 --- a/client/ayon_nuke/api/plugin.py +++ b/client/ayon_nuke/api/plugin.py @@ -628,6 +628,7 @@ def get_representation_data( add_tags = tags or [] repre = { "name": self.name, + "outputName": self.name, "ext": self.ext, "files": self.file, "stagingDir": self.staging_dir, @@ -636,7 +637,8 @@ def get_representation_data( # making sure that once intermediate file is published # as representation, we will be able to then identify it # from representation.data.isIntermediate - "isIntermediate": True + "isIntermediate": True, + "isMultiIntermediates": self.multiple_presets }, } @@ -653,9 +655,6 @@ def get_representation_data( self.file, self.first_frame, self.last_frame) repre["files"] = filenames - if self.multiple_presets: - repre["outputName"] = self.name - if self.publish_on_farm: repre["tags"].append("publish_on_farm")