gimp r25610 - in trunk: . app/tools



Author: martinn
Date: Sat May 10 10:34:03 2008
New Revision: 25610
URL: http://svn.gnome.org/viewvc/gimp?rev=25610&view=rev

Log:
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.


Modified:
   trunk/ChangeLog
   trunk/app/tools/gimprectangletool.c

Modified: trunk/app/tools/gimprectangletool.c
==============================================================================
--- trunk/app/tools/gimprectangletool.c	(original)
+++ trunk/app/tools/gimprectangletool.c	Sat May 10 10:34:03 2008
@@ -970,6 +970,7 @@
       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))



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]