Don't forget updating the integer representation when reverting the

2008-05-10  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimprectangletool.c
	(gimp_rectangle_tool_button_release): Don't forget updating the
	integer representation when reverting the rectangle after
	cancelling a rubber-banding.

svn path=/trunk/; revision=25610
This commit is contained in:
Martin Nordholts 2008-05-10 10:34:03 +00:00 committed by Martin Nordholts
parent a535806b14
commit 05320b55ea
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2008-05-10 Martin Nordholts <martinn@svn.gnome.org>
* app/tools/gimprectangletool.c
(gimp_rectangle_tool_button_release): Don't forget updating the
integer representation when reverting the rectangle after
cancelling a rubber-banding.
2008-05-10 Martin Nordholts <martinn@svn.gnome.org>
* app/tools/gimprectangletool.c

View File

@ -970,6 +970,7 @@ gimp_rectangle_tool_button_release (GimpTool *tool,
private->y1 = private->saved_y1;
private->x2 = private->saved_x2;
private->y2 = private->saved_y2;
gimp_rectangle_tool_update_int_rect (rect_tool);
/* If the first created rectangle was canceled, halt the tool */
if (gimp_rectangle_tool_rectangle_is_new (rect_tool))