mirror of https://github.com/GNOME/gimp.git
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:
parent
be66d1a2be
commit
123a9092ed
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue