svn merge ^/trunk/blender -r46300:46330
[blender.git] / source / blender / editors / sculpt_paint / paint_vertex.c
index 9a572a24847ddfea6cde564f38fdbd38cb2d58c1..9d7b7c75837e7551021e47a4ccffba347ce8d376 100644 (file)
@@ -2424,7 +2424,7 @@ static void wpaint_stroke_update_step(bContext *C, struct PaintStroke *stroke, P
        ED_region_tag_redraw(vc->ar);
 }
 
-static void wpaint_stroke_done(const bContext *C, struct PaintStroke *stroke)
+static void wpaint_stroke_done(bContext *C, struct PaintStroke *stroke)
 {
        ToolSettings *ts = CTX_data_tool_settings(C);
        Object *ob = CTX_data_active_object(C);
@@ -2951,7 +2951,7 @@ static void vpaint_stroke_update_step(bContext *C, struct PaintStroke *stroke, P
        }
 }
 
-static void vpaint_stroke_done(const bContext *C, struct PaintStroke *stroke)
+static void vpaint_stroke_done(bContext *C, struct PaintStroke *stroke)
 {
        ToolSettings *ts = CTX_data_tool_settings(C);
        struct VPaintData *vpd = paint_stroke_mode_data(stroke);