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:
authorAntonioya <blendergit@gmail.com>2018-12-27 19:04:31 +0300
committerAntonioya <blendergit@gmail.com>2018-12-27 19:04:31 +0300
commitb2a7aab7db81557ef3f2f8bd1df7ce8e37e137a6 (patch)
tree82643e5f0133c25f706c9e8ae2b321e65dba44b9 /source/blender/blenkernel/intern/brush.c
parentdff011db410e1ade13fa0ef36e3fc5b77e56a336 (diff)
GP: Enable Brush cursor by default for new brushes
Diffstat (limited to 'source/blender/blenkernel/intern/brush.c')
-rw-r--r--source/blender/blenkernel/intern/brush.c1
1 files changed, 1 insertions, 0 deletions
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);