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:
SHIRAKAWA Akira 2009-10-08 23:22:21 +02:00 committed by Sven Neumann
parent a2f9408196
commit 9b595f3b10
1 changed files with 1 additions and 1 deletions

View File

@ -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;