Skip to content

Commit

Permalink
Merge pull request #158 from ynput/bugfix/AY-1433_Nuke-Render-Use-exi…
Browse files Browse the repository at this point in the history
…sting-frames-with-slate-offsets-the-published-render

Nuke: render use existing frames with slate offsets the published render - AY-1433
  • Loading branch information
jakubjezek001 authored Mar 11, 2024
2 parents 63cd0ef + aadc465 commit f6bfd72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ def process(self, instance):
(
n_ for n_ in nuke.allNodes()
if "slate" in n_.name().lower()
if not n_["disable"].getValue()
if not n_["disable"].getValue() and
"publish_instance" not in n_.knobs() # Exclude instance nodes.
),
None
)
Expand Down
5 changes: 0 additions & 5 deletions client/ayon_core/hosts/nuke/plugins/publish/collect_writes.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@ def _set_additional_instance_data(
"frameEndHandle": last_frame,
})


# TODO temporarily set stagingDir as persistent for backward
# compatibility. This is mainly focused on `renders`folders which
# were previously not cleaned up (and could be used in read notes)
Expand Down Expand Up @@ -269,10 +268,6 @@ def _get_existing_frames_representation(
"tags": []
}

frame_start_str = self._get_frame_start_str(first_frame, last_frame)

representation['frameStart'] = frame_start_str

# set slate frame
collected_frames = self._add_slate_frame_to_collected_frames(
instance,
Expand Down

0 comments on commit f6bfd72

Please sign in to comment.