gimp r26868 - in trunk: . app/tools



Author: neo
Date: Thu Sep  4 21:34:38 2008
New Revision: 26868
URL: http://svn.gnome.org/viewvc/gimp?rev=26868&view=rev

Log:
2008-09-04  Sven Neumann  <sven gimp org>

	* app/tools/gimptransformtool.c 
(gimp_transform_tool_initialize):
	expose the preview when the tool is initialized. Fixes missing
	redraws when the tool is selected from the menus (bug #550911).

	(gimp_transform_tool_motion): expose the preview after
	recalculating the transformation matrix.



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

Modified: trunk/app/tools/gimptransformtool.c
==============================================================================
--- trunk/app/tools/gimptransformtool.c	(original)
+++ trunk/app/tools/gimptransformtool.c	Thu Sep  4 21:34:38 2008
@@ -361,6 +361,8 @@
       /*  start drawing the bounding box and handles...  */
       gimp_draw_tool_start (GIMP_DRAW_TOOL (tool), display);
 
+      gimp_transform_tool_expose_preview (tr_tool);
+
       tr_tool->function = TRANSFORM_CREATING;
 
       /*  Save the current transformation info  */
@@ -487,9 +489,9 @@
     {
       tr_tool_class->motion (tr_tool, display);
 
-      gimp_transform_tool_expose_preview (tr_tool);
-
       gimp_transform_tool_recalc (tr_tool, display);
+
+      gimp_transform_tool_expose_preview (tr_tool);
     }
 
   tr_tool->lastx = tr_tool->curx;



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