[gimp] app: fix a bug with smooth affecting spacing
- From: Alexia Death <alexiade src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: fix a bug with smooth affecting spacing
- Date: Wed, 20 Apr 2011 19:04:02 +0000 (UTC)
commit 2068498b5c9f51ba4224bf394221281294a915b4
Author: Alexia Death <alexiadeath gmail com>
Date: Wed Apr 20 22:00:35 2011 +0300
app: fix a bug with smooth affecting spacing
app/paint/gimppaintcore.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/app/paint/gimppaintcore.c b/app/paint/gimppaintcore.c
index 8757f64..c4a59a7 100644
--- a/app/paint/gimppaintcore.c
+++ b/app/paint/gimppaintcore.c
@@ -321,6 +321,10 @@ gimp_paint_core_paint (GimpPaintCore *core,
paint_options,
paint_state, time))
{
+ gimp_paint_core_smooth_coords (core,
+ paint_options,
+ &core->cur_coords);
+
if (paint_state == GIMP_PAINT_STATE_MOTION)
{
/* Save coordinates for gimp_paint_core_interpolate() */
@@ -328,9 +332,6 @@ gimp_paint_core_paint (GimpPaintCore *core,
core->last_paint.y = core->cur_coords.y;
}
- gimp_paint_core_smooth_coords (core,
- paint_options,
- &core->cur_coords);
core_class->paint (core, drawable,
paint_options,
&core->cur_coords,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]