diff options
author | Joshua Leung <aligorith@gmail.com> | 2015-12-13 02:46:37 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2015-12-13 02:46:37 +0300 |
commit | 23656a54fd61ba6148463cc3de99867010402b8b (patch) | |
tree | 3475af43a3dca6950a209fa316ce9a3bf19e5f59 | |
parent | 4213acedca74c764f2eb6b6955883755dbc0575c (diff) |
GPencil Eraser: Some tweaks to eraser strength
Damping factors make the eraser too hard to use in general cases, so leaving as-is.
-rw-r--r-- | source/blender/editors/gpencil/gpencil_paint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/gpencil_paint.c b/source/blender/editors/gpencil/gpencil_paint.c index c5a92c4383d..525d189ce3a 100644 --- a/source/blender/editors/gpencil/gpencil_paint.c +++ b/source/blender/editors/gpencil/gpencil_paint.c @@ -827,7 +827,7 @@ static void gp_stroke_eraser_dostroke(tGPsdata *p, /* Pressure threshold at which stroke should be culled: Calculated as pressure value * below which we would have invisible strokes */ - const float cull_thresh = (gpl->thickness) ? 1.0f / ((float)gpl->thickness) : 1.0f; + const float cull_thresh = (gpl->thickness) ? 1.0f / ((float)gpl->thickness) : 0.01f; /* Amount to decrease the pressure of each point with each stroke */ // TODO: Fetch from toolsettings, or compute based on thickness instead? |