diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2020-03-27 14:31:30 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2020-03-27 14:36:24 +0300 |
commit | 8a62fa9855124dbfa4001eccc073cb0ee65f9212 (patch) | |
tree | 97392d5331bf1a7485f20a1986ddde05482d2b97 /source/blender/editors/gpencil/gpencil_weight_paint.c | |
parent | 25e8550739ef6e14b1496931228138533e3944bb (diff) |
GPencil: Cleanup of unused code a arguments
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_weight_paint.c')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_weight_paint.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/gpencil/gpencil_weight_paint.c b/source/blender/editors/gpencil/gpencil_weight_paint.c index 51d5df1f405..2ebf1aba353 100644 --- a/source/blender/editors/gpencil/gpencil_weight_paint.c +++ b/source/blender/editors/gpencil/gpencil_weight_paint.c @@ -449,8 +449,7 @@ static void gp_weightpaint_select_stroke(tGP_BrushWeightpaintData *gso, * brush region (either within stroke painted, or on its lines) * - this assumes that linewidth is irrelevant */ - if (gp_stroke_inside_circle( - gso->mval, gso->mval_prev, radius, pc1[0], pc1[1], pc2[0], pc2[1])) { + if (gp_stroke_inside_circle(gso->mval, radius, pc1[0], pc1[1], pc2[0], pc2[1])) { /* To each point individually... */ pt = &gps->points[i]; |