[Bf-blender-cvs] [4f8b6428bc4] blender2.8: Copy on write: VIEW3D_OT_render_border
Dalai Felinto
noreply at git.blender.org
Tue May 15 18:03:15 CEST 2018
Commit: 4f8b6428bc4300199332d1b47387354714d02993
Author: Dalai Felinto
Date: Tue May 15 18:02:29 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB4f8b6428bc4300199332d1b47387354714d02993
Copy on write: VIEW3D_OT_render_border
Drawing is using the original scene (which shouldn't), but regardless
this force tagging to work.
===================================================================
M source/blender/editors/space_view3d/view3d_edit.c
===================================================================
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;
}
More information about the Bf-blender-cvs
mailing list