Fix T61072: missing viewport update when setting render border in image editor.

This commit is contained in:
2019-01-31 18:00:46 +01:00
parent a37e889aeb
commit 78daa53e89

View File

@@ -3761,6 +3761,7 @@ static int render_border_exec(bContext *C, wmOperator *op)
scene->r.mode |= R_BORDER;
}
DEG_id_tag_update(&scene->id, ID_RECALC_COPY_ON_WRITE);
WM_event_add_notifier(C, NC_SCENE | ND_RENDER_OPTIONS, NULL);
return OPERATOR_FINISHED;