Don't adjust the rectangle shape if it is is merely being moved.

2007-08-21  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimprectangletool.c
	(gimp_rectangle_tool_update_with_coord): Don't adjust the
	rectangle shape if it is is merely being moved.

svn path=/trunk/; revision=23343
This commit is contained in:
Martin Nordholts 2007-08-21 19:52:00 +00:00 committed by Martin Nordholts
parent 8d8642ad38
commit 6b8026a5fd
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2007-08-21 Martin Nordholts <martinn@svn.gnome.org>
* app/tools/gimprectangletool.c
(gimp_rectangle_tool_update_with_coord): Don't adjust the
rectangle shape if it is is merely being moved.
2007-08-20 Michael Natterer <mitch@gimp.org>
* menus/Makefile.am: s/MAINTAINERCLEAN_FILES/MAINTAINERCLEANFILES/

View File

@ -3246,6 +3246,10 @@ gimp_rectangle_tool_update_with_coord (GimpRectangleTool *rectangle_tool,
/* Calculate what constraint to use when needed. */
constraint_to_use = gimp_rectangle_tool_get_constraint (rectangle_tool);
/* If the rectangle is being moved, we are done already since we should change it's shape then. */
if (private->function == RECT_MOVING)
return;
/* Apply the active fixed-rule */
if (gimp_rectangle_options_fixed_rule_active (options,