[gimp] Revert "app: Do not show brush outline when painting"
- From: Alexia Death <alexiade src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Revert "app: Do not show brush outline when painting"
- Date: Fri, 19 Mar 2010 19:39:21 +0000 (UTC)
commit 656eb53aada30cce711b8e1d13b999fb66c42427
Author: Alexia Death <alexiadeath gmail com>
Date: Fri Mar 19 20:21:42 2010 +0200
Revert "app: Do not show brush outline when painting"
This reverts commit 031dc8e68ac9dd52322112c1e356ad9e66b9fcf9.
app/tools/gimpbrushtool.c | 5 ++---
app/tools/gimpbrushtool.h | 1 -
2 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/app/tools/gimpbrushtool.c b/app/tools/gimpbrushtool.c
index 6cb4015..2110cab 100644
--- a/app/tools/gimpbrushtool.c
+++ b/app/tools/gimpbrushtool.c
@@ -115,7 +115,6 @@ gimp_brush_tool_init (GimpBrushTool *brush_tool)
"context/context-brush-select-set");
brush_tool->show_cursor = TRUE;
- brush_tool->in_motion = FALSE;
brush_tool->draw_brush = TRUE;
brush_tool->brush_x = 0.0;
brush_tool->brush_y = 0.0;
@@ -195,7 +194,7 @@ gimp_brush_tool_motion (GimpTool *tool,
brush_tool->brush_x = coords->x;
brush_tool->brush_y = coords->y;
}
- brush_tool->in_motion = TRUE;
+
gimp_draw_tool_resume (GIMP_DRAW_TOOL (tool));
}
@@ -244,7 +243,7 @@ gimp_brush_tool_oper_update (GimpTool *tool,
coords);
}
}
- brush_tool->in_motion = FALSE;
+
gimp_draw_tool_resume (GIMP_DRAW_TOOL (tool));
}
diff --git a/app/tools/gimpbrushtool.h b/app/tools/gimpbrushtool.h
index b1a7df0..7bea526 100644
--- a/app/tools/gimpbrushtool.h
+++ b/app/tools/gimpbrushtool.h
@@ -38,7 +38,6 @@ struct _GimpBrushTool
gboolean show_cursor;
gboolean draw_brush;
- gboolean in_motion;
gdouble brush_x;
gdouble brush_y;
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]