Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2018-05-15 19:02:29 +0300
committerDalai Felinto <dfelinto@gmail.com>2018-05-15 19:03:10 +0300
commit4f8b6428bc4300199332d1b47387354714d02993 (patch)
tree4a57c74c6aa8adbe547db1068134a485b292f510 /source/blender/editors/space_view3d
parent3d1f5cb9a281c4f95acf8eec29f42b6f292f0517 (diff)
Copy on write: VIEW3D_OT_render_border
Drawing is using the original scene (which shouldn't), but regardless this force tagging to work.
Diffstat (limited to 'source/blender/editors/space_view3d')
-rw-r--r--source/blender/editors/space_view3d/view3d_edit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/space_view3d/view3d_edit.c b/source/blender/editors/space_view3d/view3d_edit.c
index 95e688dcc08..5bb1cb25fa7 100644
--- a/source/blender/editors/space_view3d/view3d_edit.c
+++ b/source/blender/editors/space_view3d/view3d_edit.c
@@ -3276,6 +3276,9 @@ static int render_border_exec(bContext *C, wmOperator *op)
v3d->flag2 |= V3D_RENDER_BORDER;
}
+ if (rv3d->persp == RV3D_CAMOB) {
+ DEG_id_tag_update(&scene->id, DEG_TAG_COPY_ON_WRITE);
+ }
return OPERATOR_FINISHED;
}