I am trying to build a render queue, and for that I need to sequentially render some objects.
I set up a render_complete handler such that after the first render finishes I can call bpy.ops.render.render again.
I am getting a missing window error in the current context.
I tried saving the context window and screen inside some global variables to then be able to use. bpy.context.temp_override() but to no avail. I still get the same error.
Thank you in advance!