[Bf-blender-cvs] [23a0b821d3a] greasepencil-object: Remove strength curve in Pencil brush
Antonio Vazquez
noreply at git.blender.org
Sat Dec 9 17:10:20 CET 2017
Commit: 23a0b821d3aca0625faf296eff15d63d1a23a60b
Author: Antonio Vazquez
Date: Sat Dec 9 16:52:48 2017 +0100
Branches: greasepencil-object
https://developer.blender.org/rB23a0b821d3aca0625faf296eff15d63d1a23a60b
Remove strength curve in Pencil brush
This default was not working fine in all devices.
===================================================================
M source/blender/blenkernel/intern/gpencil.c
===================================================================
diff --git a/source/blender/blenkernel/intern/gpencil.c b/source/blender/blenkernel/intern/gpencil.c
index 9b0b07649e9..6dcc7b684cb 100644
--- a/source/blender/blenkernel/intern/gpencil.c
+++ b/source/blender/blenkernel/intern/gpencil.c
@@ -587,12 +587,6 @@ void BKE_gpencil_brush_init_presets(ToolSettings *ts)
brush->draw_random_sub = 0.0f;
copy_v3_v3(brush->curcolor, curcolor);
- /* Curve */
- custom_curve = brush->cur_strength;
- curvemapping_set_defaults(custom_curve, 1, 0.0f, 0.0f, 1.0f, 1.0f);
- curvemapping_initialize(custom_curve);
- gp_brush_curvemap_reset(custom_curve->cm, GPCURVE_PRESET_PENCIL);
-
/* Pen brush */
brush = BKE_gpencil_brush_addnew(ts, "Pen", true);
brush->thickness = 30.0f;
More information about the Bf-blender-cvs
mailing list