Skip to content

Commit

Permalink
Publishing review intermediates - always add anatomy output keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
jrsndlr committed Oct 23, 2024
1 parent b922711 commit 0c6c6e6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions client/ayon_nuke/api/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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
},
}

Expand All @@ -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")

Expand Down

0 comments on commit 0c6c6e6

Please sign in to comment.