DRW / Render: Make render result show when using final render with eevee.

This commit is contained in:
Clément Foucault 2018-01-29 22:27:22 +01:00
parent 1fe2b4bf60
commit 3e8c96ae46
1 changed files with 2 additions and 0 deletions

View File

@ -873,6 +873,8 @@ static int screen_render_invoke(bContext *C, wmOperator *op, const wmEvent *even
* This is a problem for animation rendering since you cannot abort them.
* This also does not open an image editor space. */
if (RE_engine_is_opengl(re_type)) {
/* ensure at least 1 area shows result */
render_view_open(C, event->x, event->y, op->reports);
return screen_render_exec(C, op);
}