Commit: 41e059d3447f3bbbbaed42a8e69e1f267d12543c
Author: Antonioya
Date: Mon Dec 10 17:15:47 2018 +0100
Branches: greasepencil-object
https://developer.blender.org/rB41e059d3447f3bbbbaed42a8e69e1f267d12543c
GP: Add missing depsgraph update
===================================================================
M source/blender/editors/gpencil/gpencil_primitive.c
===================================================================
diff --git a/source/blender/editors/gpencil/gpencil_primitive.c
b/source/blender/editors/gpencil/gpencil_primitive.c
index c2772a9954e..c3f167d5a49 100644
--- a/source/blender/editors/gpencil/gpencil_primitive.c
+++ b/source/blender/editors/gpencil/gpencil_primitive.c
@@ -796,7 +796,7 @@ static void gpencil_primitive_exit(bContext *C, wmOperator
*op)
gpd->runtime.sbuffer_sflag = 0;
}
- DEG_id_tag_update(&gpd->id, ID_RECALC_TRANSFORM | ID_RECALC_GEOMETRY);
+ DEG_id_tag_update(&gpd->id, ID_RECALC_TRANSFORM | ID_RECALC_GEOMETRY |
ID_RECALC_COPY_ON_WRITE);
WM_event_add_notifier(C, NC_GPENCIL | NA_EDITED, NULL);
/* clear pointer */
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs