app: Fix direction in strokig with dynamics.
This commit is contained in:
@ -392,7 +392,7 @@ gimp_paint_core_stroke_emulate_dynamics (GimpCoords *coords,
|
||||
}
|
||||
else
|
||||
{
|
||||
coords[i].direction = atan (delta_y / delta_x) / (2 * G_PI);
|
||||
coords[i].direction = 1.0 - atan (delta_y / delta_x) / (2 * G_PI);
|
||||
if (delta_x > 0.0)
|
||||
coords[i].direction = coords[i].direction + 0.5;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user