summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2016-02-06 17:14:52 +0000
committerJabiertxof <jtx@jtx.marker.es>2016-02-06 17:14:52 +0000
commitf9eb607affbe54a128d09643e885bae2525ac36c (patch)
treec8ce489014663d0558510b51b0e93cccdabf268c /src
parentFix for meassure bug #1541963 (diff)
downloadinkscape-f9eb607affbe54a128d09643e885bae2525ac36c.tar.gz
inkscape-f9eb607affbe54a128d09643e885bae2525ac36c.zip
Remove duplicated variable on meassure
(bzr r14633)
Diffstat (limited to 'src')
-rw-r--r--src/ui/tools/measure-tool.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ui/tools/measure-tool.cpp b/src/ui/tools/measure-tool.cpp
index e36cc294a..dae7a244d 100644
--- a/src/ui/tools/measure-tool.cpp
+++ b/src/ui/tools/measure-tool.cpp
@@ -592,7 +592,6 @@ bool MeasureTool::root_handler(GdkEvent* event)
// motion notify coordinates as given (no snapping back to origin)
within_tolerance = false;
if(event->motion.time == 0 || !last_end || Geom::LInfty( motion_w - *last_end ) > (tolerance/4.0)) {
- Geom::Point const motion_w(event->motion.x, event->motion.y);
Geom::Point const motion_dt(desktop->w2d(motion_w));
end_p = motion_dt;