diff options
author | Joseph Eagar <joeedh@gmail.com> | 2022-04-25 23:14:07 +0300 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2022-04-25 23:14:07 +0300 |
commit | a8331d8c9df4d5fc861c381ea153d9e76c603fda (patch) | |
tree | 0c21a55879fb3e479cd6b33c79b518725e0e33a1 /source/blender | |
parent | 2bc0e8d3049ec1b7c775717ec7aff6e9ab1c7726 (diff) |
Cleanup: remove unused function parameter
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_vertex.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_vertex.cc b/source/blender/editors/sculpt_paint/paint_vertex.cc index 25789b10cc8..1d78f03fe6f 100644 --- a/source/blender/editors/sculpt_paint/paint_vertex.cc +++ b/source/blender/editors/sculpt_paint/paint_vertex.cc @@ -1191,7 +1191,7 @@ static void vertex_paint_init_session(Depsgraph *depsgraph, BKE_sculpt_update_object_for_edit(depsgraph, ob, true, false, false); } -static void vwpaint_init_stroke(Scene *scene, Depsgraph *depsgraph, Object *ob) +static void vwpaint_init_stroke(Depsgraph *depsgraph, Object *ob) { BKE_sculpt_update_object_for_edit(depsgraph, ob, true, false, false); SculptSession *ss = ob->sculpt; @@ -1206,7 +1206,7 @@ static void vwpaint_init_stroke(Scene *scene, Depsgraph *depsgraph, Object *ob) static void vertex_paint_init_stroke(Scene *scene, Depsgraph *depsgraph, Object *ob) { - vwpaint_init_stroke(scene, depsgraph, ob); + vwpaint_init_stroke(depsgraph, ob); SculptSession *ss = ob->sculpt; ToolSettings *ts = scene->toolsettings; @@ -1853,7 +1853,7 @@ static bool wpaint_stroke_test_start(bContext *C, wmOperator *op, const float mo } /* If not previously created, create vertex/weight paint mode session data */ - vwpaint_init_stroke(scene, depsgraph, ob); + vwpaint_init_stroke(depsgraph, ob); vwpaint_update_cache_invariants(C, vp, ss, op, mouse); vertex_paint_init_session_data(ts, ob); |