app: fix the angular value when tilt_y == tilt_x == 0.0.

Further improves commit bb17853. We can see in the generic tilt
computation that if tilt_y is 0, whatever the value of tilt_x, tilt
becomes 0.
This commit is contained in:
Jehan 2016-11-07 13:39:09 +01:00
parent be66d1a2be
commit 123a9092ed
1 changed files with 2 additions and 2 deletions

View File

@ -569,12 +569,12 @@ gimp_dynamics_output_get_angular_value (GimpDynamicsOutput *output,
if (tilt_x == 0.0)
{
if (tilt_y >= 0.0)
if (tilt_y > 0.0)
tilt = 0.25;
else if (tilt_y < 0.0)
tilt = 0.75;
else
tilt = -1.0;
tilt = 0.0;
}
else
{