mirror of https://github.com/GNOME/gimp.git
Fixed error from last commit
Forgot to check for operator precedence Signed-off-by: SHIRAKAWA Akira <shirakawa.devel@gmail.com>
This commit is contained in:
parent
a2f9408196
commit
9b595f3b10
|
@ -192,7 +192,7 @@ gimp_airbrush_motion (GimpPaintCore *paint_core,
|
|||
opacity *= coords->pressure;
|
||||
|
||||
if (saved_velocity)
|
||||
opacity *= MAX (0.0, coords->velocity);
|
||||
opacity *= MAX (0.0, 1 - coords->velocity);
|
||||
|
||||
paint_options->pressure_options->hardness = FALSE;
|
||||
paint_options->velocity_options->hardness = FALSE;
|
||||
|
|
Loading…
Reference in New Issue