Commit: b2a7aab7db81557ef3f2f8bd1df7ce8e37e137a6
Author: Antonioya
Date:   Thu Dec 27 17:04:31 2018 +0100
Branches: master
https://developer.blender.org/rBb2a7aab7db81557ef3f2f8bd1df7ce8e37e137a6

GP: Enable Brush cursor by default for new brushes

===================================================================

M       source/blender/blenkernel/intern/brush.c

===================================================================

diff --git a/source/blender/blenkernel/intern/brush.c 
b/source/blender/blenkernel/intern/brush.c
index b000b3709f2..f9ba8765d04 100644
--- a/source/blender/blenkernel/intern/brush.c
+++ b/source/blender/blenkernel/intern/brush.c
@@ -182,6 +182,7 @@ void BKE_brush_init_gpencil_settings(Brush *brush)
        brush->gpencil_settings->draw_jitter = 0.0f;
        brush->gpencil_settings->flag |= GP_BRUSH_USE_JITTER_PRESSURE;
        brush->gpencil_settings->icon_id = GP_BRUSH_ICON_PEN;
+       brush->gpencil_settings->flag |= GP_BRUSH_ENABLE_CURSOR;
 
        /* curves */
        brush->gpencil_settings->curve_sensitivity = curvemapping_add(1, 0.0f, 
0.0f, 1.0f, 1.0f);

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to