[gimp/soc-2011-warp: 31/72] gimpwarptool: ask for exact motion event



commit 308d996bb96f843444cc00362318f9661489ed3a
Author: Michael Murà <batolettre gmail com>
Date:   Sat Jun 18 20:22:31 2011 +0200

    gimpwarptool: ask for exact motion event

 app/tools/gimpwarptool.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/app/tools/gimpwarptool.c b/app/tools/gimpwarptool.c
index c92a006..a796a69 100644
--- a/app/tools/gimpwarptool.c
+++ b/app/tools/gimpwarptool.c
@@ -153,6 +153,7 @@ gimp_warp_tool_init (GimpWarpTool *self)
 {
   GimpTool *tool = GIMP_TOOL (self);
 
+  gimp_tool_control_set_motion_mode (tool->control, GIMP_MOTION_MODE_EXACT);
   gimp_tool_control_set_dirty_mask  (tool->control,
                                      GIMP_DIRTY_IMAGE           |
                                      GIMP_DIRTY_IMAGE_STRUCTURE |



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