forked from bartvdbraak/blender
running bpy.ops.render.render('INVOKE_DEFAULT') would crash blender.
This commit is contained in:
parent
7866b63292
commit
c83417b2e2
@ -675,7 +675,12 @@ static int scrollback_append_exec(bContext *C, wmOperator *op)
|
||||
|
||||
console_scrollback_limit(sc);
|
||||
|
||||
console_textview_update_rect(sc, ar);
|
||||
/* 'ar' can be null depending on the operator that runs
|
||||
* rendering with invoke default for eg causes this */
|
||||
if(ar) {
|
||||
console_textview_update_rect(sc, ar);
|
||||
}
|
||||
|
||||
ED_area_tag_redraw(CTX_wm_area(C));
|
||||
|
||||
return OPERATOR_FINISHED;
|
||||
|
Loading…
Reference in New Issue
Block a user