[gimp] app: remove some pointless code



commit a5fbe2d33a4393f7ce5750dbc3d835eeb0ed938c
Author: Alexia Death <alexiadeath gmail com>
Date:   Mon Dec 28 22:21:33 2015 +0200

    app: remove some pointless code

 app/display/gimpdisplayshell-tool-events.c |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/app/display/gimpdisplayshell-tool-events.c b/app/display/gimpdisplayshell-tool-events.c
index 899d5c1..3fc438f 100644
--- a/app/display/gimpdisplayshell-tool-events.c
+++ b/app/display/gimpdisplayshell-tool-events.c
@@ -563,17 +563,6 @@ gimp_display_shell_canvas_tool_events (GtkWidget        *canvas,
                 gimp_motion_buffer_begin_stroke (shell->motion_buffer, time,
                                                  &last_motion);
 
-                last_motion.x        = image_coords.x;
-                last_motion.y        = image_coords.y;
-                last_motion.pressure = image_coords.pressure;
-                last_motion.xtilt    = image_coords.xtilt;
-                last_motion.ytilt    = image_coords.ytilt;
-                last_motion.wheel    = image_coords.wheel;
-                last_motion.xscale   = image_coords.xscale;
-                last_motion.yscale   = image_coords.yscale;
-
-                image_coords = last_motion;
-
                 tool_manager_button_press_active (gimp,
                                                   &image_coords,
                                                   time, state,


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