PyAPI: match word order from Scene.frame_start/end

For the render operator match word order from Scene.frame_start/end.

Ref !147169
This commit is contained in:
Campbell Barton
2025-10-02 22:07:06 +00:00
parent 64cb13b9ff
commit c8302a08e8
2 changed files with 27 additions and 27 deletions

View File

@@ -229,7 +229,7 @@ class FileOutputTest(unittest.TestCase):
# Set output directory for all existing file output nodes.
set_directory(bpy.data.scenes[0].compositing_node_group, f'{curr_out_dir}/')
bpy.data.scenes[0].render.compositor_device = f'{self.execution_device}'
bpy.ops.render.render(animation=True, start_frame=1, end_frame=1)
bpy.ops.render.render(animation=True, frame_start=1, frame_end=1)
if __name__ == "__main__":