[Bf-blender-cvs] [a8331d8c9df] master: Cleanup: remove unused function parameter

Joseph Eagar noreply at git.blender.org
Mon Apr 25 22:14:24 CEST 2022


Commit: a8331d8c9df4d5fc861c381ea153d9e76c603fda
Author: Joseph Eagar
Date:   Mon Apr 25 13:14:07 2022 -0700
Branches: master
https://developer.blender.org/rBa8331d8c9df4d5fc861c381ea153d9e76c603fda

Cleanup: remove unused function parameter

===================================================================

M	source/blender/editors/sculpt_paint/paint_vertex.cc

===================================================================

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);



More information about the Bf-blender-cvs mailing list