Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Nuke: render use existing frames with slate offsets the published render - AY-1433 #6239

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion openpype/hosts/nuke/plugins/publish/collect_slate_node.py
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 openpype/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
Loading