diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-09-30 18:57:36 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-09-30 18:57:51 +0300 |
commit | 6a6ac502f2612f37c294692cee87ccf6875b2eb5 (patch) | |
tree | 75a681b24614bed97b4126399ada9ebf8d87c231 /source | |
parent | bb0b46f78c1e183d8fad99299736316e55c23039 (diff) |
Cleanup: unused arguments
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index a871fb66686..c3cb04514fe 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -1934,9 +1934,7 @@ static void sculpt_clip(Sculpt *sd, SculptSession *ss, float co[3], const float static PBVHNode **sculpt_pbvh_gather_cursor_update(Object *ob, Sculpt *sd, - const Brush *brush, bool use_original, - float radius_scale, int *r_totnode) { SculptSession *ss = ob->sculpt; @@ -6549,7 +6547,6 @@ bool sculpt_cursor_geometry_info_update(bContext *C, } /* Sampled normal calculation */ - const float radius_scale = 1.0f; float radius; /* Update cursor data in SculptSession */ @@ -6571,8 +6568,7 @@ bool sculpt_cursor_geometry_info_update(bContext *C, } ss->cursor_radius = radius; - PBVHNode **nodes = sculpt_pbvh_gather_cursor_update( - ob, sd, brush, original, radius_scale, &totnode); + PBVHNode **nodes = sculpt_pbvh_gather_cursor_update(ob, sd, original, &totnode); /* In case there are no nodes under the cursor, return the face normal */ if (!totnode) { |