chain up unconditionally now that we draw the brush outline while

2004-06-22  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpclonetool.c (gimp_clone_tool_draw): chain up
	unconditionally now that we draw the brush outline while
	painting. Fixes brush outline artefacts on button_press and
	button_release. Spotted by sjburges.
This commit is contained in:
Michael Natterer
2004-06-22 15:31:14 +00:00
committed by Michael Natterer
parent a5fcdf28c7
commit afeaf96dd5
3 changed files with 13 additions and 14 deletions

View File

@ -1,3 +1,10 @@
2004-06-22 Michael Natterer <mitch@gimp.org>
* app/tools/gimpclonetool.c (gimp_clone_tool_draw): chain up
unconditionally now that we draw the brush outline while
painting. Fixes brush outline artefacts on button_press and
button_release. Spotted by sjburges.
2004-06-22 Sven Neumann <sven@gimp.org>
* app/widgets/gimpfiledialog.c (gimp_file_dialog_set_image): unset

View File

@ -249,10 +249,8 @@ gimp_clone_tool_draw (GimpDrawTool *draw_tool)
}
}
}
else
{
GIMP_DRAW_TOOL_CLASS (parent_class)->draw (draw_tool);
}
GIMP_DRAW_TOOL_CLASS (parent_class)->draw (draw_tool);
}
@ -261,12 +259,10 @@ gimp_clone_tool_draw (GimpDrawTool *draw_tool)
static GtkWidget *
gimp_clone_options_gui (GimpToolOptions *tool_options)
{
GObject *config;
GObject *config = G_OBJECT (tool_options);
GtkWidget *vbox;
GtkWidget *frame;
config = G_OBJECT (tool_options);
vbox = gimp_paint_options_gui (tool_options);
frame = gimp_prop_enum_radio_frame_new (config, "clone-type",

View File

@ -249,10 +249,8 @@ gimp_clone_tool_draw (GimpDrawTool *draw_tool)
}
}
}
else
{
GIMP_DRAW_TOOL_CLASS (parent_class)->draw (draw_tool);
}
GIMP_DRAW_TOOL_CLASS (parent_class)->draw (draw_tool);
}
@ -261,12 +259,10 @@ gimp_clone_tool_draw (GimpDrawTool *draw_tool)
static GtkWidget *
gimp_clone_options_gui (GimpToolOptions *tool_options)
{
GObject *config;
GObject *config = G_OBJECT (tool_options);
GtkWidget *vbox;
GtkWidget *frame;
config = G_OBJECT (tool_options);
vbox = gimp_paint_options_gui (tool_options);
frame = gimp_prop_enum_radio_frame_new (config, "clone-type",