when editing a "smooth" curve, update the image while dragging instead of

2006-09-14  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpcurvestool.c (curves_graph_events): when editing a
	"smooth" curve, update the image while dragging instead of on
	button_release. Suggested by Joel Becker.
This commit is contained in:
Michael Natterer
2006-09-14 17:05:43 +00:00
committed by Michael Natterer
parent 58b5c49b02
commit 1db7c2075a
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2006-09-14 Michael Natterer <mitch@gimp.org>
* app/tools/gimpcurvestool.c (curves_graph_events): when editing a
"smooth" curve, update the image while dragging instead of on
button_release. Suggested by Joel Becker.
2006-09-14 Sven Neumann <sven@gimp.org>
* plug-ins/pygimp/plug-ins/gtkcons.py: use gtk.CLOSE instead of

View File

@ -1106,7 +1106,9 @@ curves_graph_events (GtkWidget *widget,
tool->grabbed = FALSE;
curves_set_cursor (tool, GDK_FLEUR);
gimp_image_map_tool_preview (GIMP_IMAGE_MAP_TOOL (tool));
if (tool->curves->curve_type[tool->channel] == GIMP_CURVE_FREE)
gimp_image_map_tool_preview (GIMP_IMAGE_MAP_TOOL (tool));
return TRUE;
@ -1143,6 +1145,9 @@ curves_graph_events (GtkWidget *widget,
curves_calculate_curve (tool->curves, tool->channel);
}
gimp_image_map_tool_preview (GIMP_IMAGE_MAP_TOOL (tool));
break;
case GIMP_CURVE_FREE: