diff --git a/app/paint/gimpmybrushcore.c b/app/paint/gimpmybrushcore.c index ac823e5ba8..5a6f7ec344 100644 --- a/app/paint/gimpmybrushcore.c +++ b/app/paint/gimpmybrushcore.c @@ -82,8 +82,7 @@ static void gimp_mybrush_core_motion (GimpPaintCore *paint_core GimpSymmetry *sym, guint32 time, gfloat view_zoom, - gfloat view_rotation, - gfloat barrel_rotation); + gfloat view_rotation); static void gimp_mybrush_core_create_brushes (GimpMybrushCore *mybrush, GimpDrawable *drawable, GimpPaintOptions *paint_options, @@ -234,7 +233,7 @@ gimp_mybrush_core_paint (GimpPaintCore *paint_core, case GIMP_PAINT_STATE_MOTION: gimp_mybrush_core_motion (paint_core, drawables->data, paint_options, sym, time, mybrush_options->view_zoom, - mybrush_options->view_rotation, 1.0f); + mybrush_options->view_rotation); break; case GIMP_PAINT_STATE_FINISH: @@ -256,8 +255,7 @@ gimp_mybrush_core_motion (GimpPaintCore *paint_core, GimpSymmetry *sym, guint32 time, gfloat view_zoom, - gfloat view_rotation, - gfloat barrel_rotation) + gfloat view_rotation) { GimpMybrushCore *mybrush = GIMP_MYBRUSH_CORE (paint_core); MyPaintRectangle rect; @@ -307,7 +305,7 @@ gimp_mybrush_core_motion (GimpPaintCore *paint_core, 1.0f, /* Pretend the cursor hasn't moved in a while */ view_zoom, view_rotation, - barrel_rotation); + coords.wheel); } dt = 0.015; @@ -378,7 +376,7 @@ gimp_mybrush_core_motion (GimpPaintCore *paint_core, dt, view_zoom, view_rotation, - barrel_rotation); + coords.wheel); } mybrush->private->last_time = time;