gimp r27534 - in branches/gimp-2-6: . app/tools
- From: mitch svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r27534 - in branches/gimp-2-6: . app/tools
- Date: Mon, 3 Nov 2008 19:33:07 +0000 (UTC)
Author: mitch
Date: Mon Nov 3 19:33:07 2008
New Revision: 27534
URL: http://svn.gnome.org/viewvc/gimp?rev=27534&view=rev
Log:
2008-11-03 Michael Natterer <mitch gimp org>
Merged from trunk:
Bug 559015 â Move tool gives bad information about px moved
* app/tools/gimpeditselectiontool.c (gimp_edit_selection_tool_init):
set cursor precision to PIXEL_BORDER because that's what the move
tool snaps to.
Unrelated: set CENTER_CROSS_SIZE to an odd number so it's drawn
symmetrically.
Modified:
branches/gimp-2-6/ChangeLog
branches/gimp-2-6/app/tools/gimpeditselectiontool.c
Modified: branches/gimp-2-6/app/tools/gimpeditselectiontool.c
==============================================================================
--- branches/gimp-2-6/app/tools/gimpeditselectiontool.c (original)
+++ branches/gimp-2-6/app/tools/gimpeditselectiontool.c Mon Nov 3 19:33:07 2008
@@ -62,7 +62,7 @@
#define EDIT_SELECT_SCROLL_LOCK FALSE
#define ARROW_VELOCITY 25
-#define CENTER_CROSS_SIZE 6
+#define CENTER_CROSS_SIZE 7
typedef struct _GimpEditSelectionTool
@@ -148,6 +148,8 @@
gimp_tool_control_set_scroll_lock (tool->control, EDIT_SELECT_SCROLL_LOCK);
gimp_tool_control_set_motion_mode (tool->control, GIMP_MOTION_MODE_COMPRESS);
+ gimp_tool_control_set_precision (tool->control,
+ GIMP_CURSOR_PRECISION_PIXEL_BORDER);
edit_selection_tool->origx = 0;
edit_selection_tool->origy = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]