diff --git a/sequencer_utils.py b/sequencer_utils.py index ae44863..5cbd720 100644 --- a/sequencer_utils.py +++ b/sequencer_utils.py @@ -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)))