Fix incorrect function for sculpt multithreading task after recent refactor.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Sat, 16 Jan 2016 21:25:52 +0000 (22:25 +0100)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Sat, 16 Jan 2016 21:28:32 +0000 (22:28 +0100)
source/blender/editors/sculpt_paint/sculpt.c

index 3ecc21de97fea09dbf0c39f7da1ed20ec2dd9ddf..602fe686e7e9c1c4535ae9ce97be930413a6950c 100644 (file)
@@ -1564,7 +1564,7 @@ typedef struct SculptDoBrushSmoothGridDataChunk {
        size_t tmpgrid_size;
 } SculptDoBrushSmoothGridDataChunk;
 
-static void do_smooth_brush_mesh_task_cb(void *userdata, void *UNUSED(userdata_chunk), int n)
+static void do_smooth_brush_mesh_task_cb(void *userdata, int n)
 {
        SculptThreadedTaskData *data = userdata;
        SculptSession *ss = data->ob->sculpt;
@@ -1610,7 +1610,7 @@ static void do_smooth_brush_mesh_task_cb(void *userdata, void *UNUSED(userdata_c
        BKE_pbvh_vertex_iter_end;
 }
 
-static void do_smooth_brush_bmesh_task_cb(void *userdata, void *UNUSED(userdata_chunk), int n)
+static void do_smooth_brush_bmesh_task_cb(void *userdata, int n)
 {
        SculptThreadedTaskData *data = userdata;
        SculptSession *ss = data->ob->sculpt;