Fix T43429: bpy.ops.render.render() not working with scene in VSE
Was a mistake in threading conflict prevention condition.
This commit is contained in:
parent
9e48f010c4
commit
58f7deca58
Notes:
blender-bot
2023-02-14 09:34:18 +01:00
Referenced by issue #43429, bpy.ops.render.render() not working with scene in VSE
|
@ -2609,7 +2609,7 @@ static ImBuf *seq_render_scene_strip(const SeqRenderData *context, Sequence *seq
|
|||
* When rendering from command line renderer is called from main thread, in this
|
||||
* case it's always safe to render scene here
|
||||
*/
|
||||
if (!is_thread_main || is_rendering == false || is_background) {
|
||||
if (!is_thread_main || is_rendering == false || is_background || context->eval_ctx->mode == DAG_EVAL_RENDER) {
|
||||
if (re == NULL)
|
||||
re = RE_NewRender(scene->id.name);
|
||||
|
||||
|
|
Loading…
Reference in New Issue