attr set for single file
parent
83268e9ec7
commit
dbc92922b5
|
@ -299,9 +299,10 @@ def render_scene(output, attributes=None):
|
|||
(scn.render, "filepath", output),
|
||||
]
|
||||
|
||||
print(f'Render Strip to {scn.render.filepath}')
|
||||
Path(output).parent.mkdir(exist_ok=True, parents=True)
|
||||
bpy.ops.render.opengl(animation=True, sequencer=True)
|
||||
with attr_set(attributes):
|
||||
print(f'Render Strip to {scn.render.filepath}')
|
||||
bpy.ops.render.opengl(animation=True, sequencer=True)
|
||||
|
||||
def render_strip(strip, output, attributes=None):
|
||||
output = os.path.abspath(bpy.path.abspath(str(output)))
|
||||
|
|
Loading…
Reference in New Issue