[gimp] app: Don't mark coord done untill its actually been painted
- From: Alexia Death <alexiade src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: Don't mark coord done untill its actually been painted
- Date: Sun, 11 Sep 2011 18:56:40 +0000 (UTC)
commit 8f11e8743dd284087f4f74724e4c9a54fd935d7c
Author: Alexia Death <alexiadeath gmail com>
Date: Sun Sep 11 21:47:37 2011 +0300
app: Don't mark coord done untill its actually been painted
app/paint/gimpbrushcore.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/app/paint/gimpbrushcore.c b/app/paint/gimpbrushcore.c
index 9eab1e9..7e834a9 100644
--- a/app/paint/gimpbrushcore.c
+++ b/app/paint/gimpbrushcore.c
@@ -755,13 +755,14 @@ gimp_brush_core_interpolate (GimpPaintCore *paint_core,
}
gimp_paint_core_set_current_coords (paint_core, ¤t_coords);
- gimp_paint_core_set_last_coords (paint_core, ¤t_coords);
paint_core->distance = initial + t * dist;
paint_core->pixel_dist = pixel_initial + t * pixel_dist;
gimp_paint_core_paint (paint_core, drawable, paint_options,
GIMP_PAINT_STATE_MOTION, time);
+
+ gimp_paint_core_set_last_coords (paint_core, ¤t_coords);
}
current_coords.x = last_coords.x + delta_vec.x;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]