mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 21:32:15 +01:00
feat(nuke): slate no need to be representation
This commit is contained in:
parent
7d14c01bba
commit
54c3fa9dac
1 changed files with 0 additions and 12 deletions
|
|
@ -82,7 +82,6 @@ class ExtractSlateFrame(pype.api.Extractor):
|
|||
# create write node
|
||||
write_node = nuke.createNode("Write")
|
||||
file = fhead + "slate.png"
|
||||
name = "slate"
|
||||
path = os.path.join(staging_dir, file).replace("\\", "/")
|
||||
instance.data["slateFrame"] = path
|
||||
write_node["file"].setValue(path)
|
||||
|
|
@ -91,17 +90,6 @@ class ExtractSlateFrame(pype.api.Extractor):
|
|||
write_node.setInput(0, previous_node)
|
||||
temporary_nodes.append(write_node)
|
||||
|
||||
repre = {
|
||||
'name': name,
|
||||
'ext': "png",
|
||||
'files': file,
|
||||
"stagingDir": staging_dir,
|
||||
"frameStart": first_frame,
|
||||
"frameEnd": last_frame,
|
||||
"anatomy_template": "render"
|
||||
}
|
||||
instance.data["representations"].append(repre)
|
||||
|
||||
# Render frames
|
||||
nuke.execute(write_node.name(), int(first_frame), int(last_frame))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue