[gimp] Revert "app: Fix the code that disables outline to be a bit neater"
- From: Alexia Death <alexiade src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Revert "app: Fix the code that disables outline to be a bit neater"
- Date: Fri, 19 Mar 2010 19:39:26 +0000 (UTC)
commit 1e8ec625dfc1303cc38692fb06ae14f5535c75f5
Author: Alexia Death <alexiadeath gmail com>
Date: Fri Mar 19 20:22:56 2010 +0200
Revert "app: Fix the code that disables outline to be a bit neater"
This reverts commit 58d82dcadcdcac2308c54c26f4dcddfdc5063248.
app/tools/gimpbrushtool.c | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/app/tools/gimpbrushtool.c b/app/tools/gimpbrushtool.c
index 2110cab..a789759 100644
--- a/app/tools/gimpbrushtool.c
+++ b/app/tools/gimpbrushtool.c
@@ -299,10 +299,7 @@ gimp_brush_tool_draw_brush (GimpBrushTool *brush_tool,
g_return_if_fail (GIMP_IS_BRUSH_TOOL (brush_tool));
- /* if we are getting motion calls, the brush core will be busy drawing
- * and output provides everything the outline could offer.
- **/
- if ((! brush_tool->draw_brush) || (brush_tool->in_motion))
+ if (! brush_tool->draw_brush)
return;
draw_tool = GIMP_DRAW_TOOL (brush_tool);
@@ -321,7 +318,7 @@ gimp_brush_tool_draw_brush (GimpBrushTool *brush_tool,
if (brush_core->brush_bound_segs)
gimp_brush_core_transform_bound_segs (brush_core, options);
- if (brush_core->transformed_brush_bound_segs)
+ if ((brush_core->transformed_brush_bound_segs) && !(brush_tool->in_motion))
{
GimpDisplayShell *shell = gimp_display_get_shell (draw_tool->display);
gdouble width = brush_core->transformed_brush_bound_width;
@@ -351,7 +348,7 @@ gimp_brush_tool_draw_brush (GimpBrushTool *brush_tool,
x, y,
FALSE);
}
- else if (draw_fallback)
+ else if ((draw_fallback) || (brush_tool->in_motion))
{
gimp_draw_tool_draw_handle (draw_tool, GIMP_HANDLE_CROSS,
x, y,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]