mirror of https://github.com/GNOME/gimp.git
applied patch from Alexia Death fixing a cut'n'paste error.
2008-07-07 Sven Neumann <sven@gimp.org> * app/paint/gimppaintoptions.c (gimp_paint_options_get_dynamic_hardness) : applied patch from Alexia Death fixing a cut'n'paste error. svn path=/trunk/; revision=26084
This commit is contained in:
parent
055ca896b9
commit
2b3741c357
|
@ -1,3 +1,9 @@
|
|||
2008-07-07 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/paint/gimppaintoptions.c
|
||||
(gimp_paint_options_get_dynamic_hardness) : applied patch from
|
||||
Alexia Death fixing a cut'n'paste error.
|
||||
|
||||
2008-07-07 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/tools/gimppaintoptions-gui.c (tool_has_size_dynamics): check
|
||||
|
|
|
@ -1163,9 +1163,9 @@ gimp_paint_options_get_dynamic_hardness (GimpPaintOptions *paint_options,
|
|||
g_return_val_if_fail (GIMP_IS_PAINT_OPTIONS (paint_options), 1.0);
|
||||
g_return_val_if_fail (coords != NULL, 1.0);
|
||||
|
||||
if (paint_options->pressure_options->rate ||
|
||||
paint_options->velocity_options->rate ||
|
||||
paint_options->random_options->rate)
|
||||
if (paint_options->pressure_options->hardness ||
|
||||
paint_options->velocity_options->hardness ||
|
||||
paint_options->random_options->hardness)
|
||||
{
|
||||
gdouble pressure = -1.0;
|
||||
gdouble velocity = -1.0;
|
||||
|
|
Loading…
Reference in New Issue