[gimp] app: Fix ink tool smooth handling
- From: Alexia Death <alexiade src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: Fix ink tool smooth handling
- Date: Sun, 11 Sep 2011 13:20:55 +0000 (UTC)
commit c360c538739fb7f53178641fd1669f380e652c47
Author: Alexia Death <alexiadeath gmail com>
Date: Sun Sep 11 16:18:59 2011 +0300
app: Fix ink tool smooth handling
app/paint/gimpink.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/app/paint/gimpink.c b/app/paint/gimpink.c
index 96e72dc..6f4ac46 100644
--- a/app/paint/gimpink.c
+++ b/app/paint/gimpink.c
@@ -145,13 +145,15 @@ gimp_ink_paint (GimpPaintCore *paint_core,
guint32 time)
{
GimpInk *ink = GIMP_INK (paint_core);
+ GimpCoords last_coords;
+
+ gimp_paint_core_get_last_coords (paint_core, &last_coords);
+ gimp_paint_core_get_current_coords (paint_core, paint_options, coords);
switch (paint_state)
{
- GimpCoords last_coords;
case GIMP_PAINT_STATE_INIT:
- gimp_paint_core_get_last_coords (paint_core, &last_coords);
if (coords->x == last_coords.x &&
coords->y == last_coords.y)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]