Fix T61072: missing viewport update when setting render border in image editor.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Thu, 31 Jan 2019 17:00:46 +0000 (18:00 +0100)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Thu, 31 Jan 2019 17:01:47 +0000 (18:01 +0100)
source/blender/editors/space_image/image_ops.c

index cc1dcf0..8a63180 100644 (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;