Commit 72284412 authored by Simon Budig's avatar Simon Budig

Minor fix: Update the Graph after adding a control point

(merged into the last Changelog entry)
parent 306fa33a
......@@ -2,7 +2,8 @@
* app/tools/gimpcurvestool.c: Kill some nonsensical code that
tried to set control points in a free form curve based on the
image coordinates (huh?). Untabbified.
image coordinates (huh?). Update the Graph after adding a point.
Untabbified.
2004-12-17 Sven Neumann <sven@gimp.org>
......
......@@ -341,6 +341,7 @@ gimp_curves_tool_button_release (GimpTool *tool,
{
curves_add_point (c_tool, c_tool->channel);
curves_calculate_curve (c_tool->curves, c_tool->channel);
curves_update (c_tool, GRAPH | XRANGE);
}
else if (state & GDK_CONTROL_MASK)
{
......@@ -351,6 +352,7 @@ gimp_curves_tool_button_release (GimpTool *tool,
curves_add_point (c_tool, i);
curves_calculate_curve (c_tool->curves, c_tool->channel);
}
curves_update (c_tool, GRAPH | XRANGE);
}
/* chain up to halt the tool */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment