diff --git a/app/operations/gimpoperationgradient.c b/app/operations/gimpoperationgradient.c index 9bbc294e1b..2dbb74666d 100644 --- a/app/operations/gimpoperationgradient.c +++ b/app/operations/gimpoperationgradient.c @@ -777,6 +777,8 @@ gradient_calc_spiral_factor (gdouble dist, gdouble ang; double r; + offset = offset / 100.0; + ang0 = atan2 (axis[0], axis[1]) + G_PI; ang1 = atan2 (x, y) + G_PI;