mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Merge pull request #158 from ynput/bugfix/AY-1433_Nuke-Render-Use-existing-frames-with-slate-offsets-the-published-render
Nuke: render use existing frames with slate offsets the published render - AY-1433
This commit is contained in:
commit
f6bfd72e79
2 changed files with 2 additions and 6 deletions
|
|
@ -17,7 +17,8 @@ class CollectSlate(pyblish.api.InstancePlugin):
|
||||||
(
|
(
|
||||||
n_ for n_ in nuke.allNodes()
|
n_ for n_ in nuke.allNodes()
|
||||||
if "slate" in n_.name().lower()
|
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
|
None
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -194,7 +194,6 @@ class CollectNukeWrites(pyblish.api.InstancePlugin,
|
||||||
"frameEndHandle": last_frame,
|
"frameEndHandle": last_frame,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
# TODO temporarily set stagingDir as persistent for backward
|
# TODO temporarily set stagingDir as persistent for backward
|
||||||
# compatibility. This is mainly focused on `renders`folders which
|
# compatibility. This is mainly focused on `renders`folders which
|
||||||
# were previously not cleaned up (and could be used in read notes)
|
# were previously not cleaned up (and could be used in read notes)
|
||||||
|
|
@ -269,10 +268,6 @@ class CollectNukeWrites(pyblish.api.InstancePlugin,
|
||||||
"tags": []
|
"tags": []
|
||||||
}
|
}
|
||||||
|
|
||||||
frame_start_str = self._get_frame_start_str(first_frame, last_frame)
|
|
||||||
|
|
||||||
representation['frameStart'] = frame_start_str
|
|
||||||
|
|
||||||
# set slate frame
|
# set slate frame
|
||||||
collected_frames = self._add_slate_frame_to_collected_frames(
|
collected_frames = self._add_slate_frame_to_collected_frames(
|
||||||
instance,
|
instance,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue