summaryrefslogtreecommitdiffstats
path: root/src/desktop.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2006-10-16 09:40:03 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2006-10-16 09:40:03 +0000
commit8f2c1dc45dee1da38a41386fee45feb5cce3718c (patch)
tree4507fa56f7f990f3ef3b9953b5a8033ee61fe0d2 /src/desktop.cpp
parentanother canvas repaint optimization: if the new rect and the rect aborted las... (diff)
downloadinkscape-8f2c1dc45dee1da38a41386fee45feb5cce3718c.tar.gz
inkscape-8f2c1dc45dee1da38a41386fee45feb5cce3718c.zip
hack*ahum*infrastructure to implement axonometric grid snapping. horizontal snapping already implemented.
(bzr r1806)
Diffstat (limited to 'src/desktop.cpp')
-rw-r--r--src/desktop.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/desktop.cpp b/src/desktop.cpp
index 47dbe1bec..d7a081faf 100644
--- a/src/desktop.cpp
+++ b/src/desktop.cpp
@@ -10,6 +10,7 @@
* Ralf Stephan <ralf@ark.in-berlin.de>
* John Bintz <jcoswell@coswellproductions.org>
*
+ * Copyright (C) 2006 Johan Engelen <johan@shouraizou.nl>
* Copyright (C) 2006 John Bintz
* Copyright (C) 2004 MenTaLguY
* Copyright (C) 1999-2002 Lauris Kaplinski
@@ -1363,6 +1364,9 @@ _update_snap_distances (SPDesktop *desktop)
nv.snap_manager.grid.setDistance(sp_convert_distance_full(nv.gridtolerance,
*nv.gridtoleranceunit,
px));
+ nv.snap_manager.axonomgrid.setDistance(sp_convert_distance_full(nv.gridtolerance,
+ *nv.gridtoleranceunit,
+ px));
nv.snap_manager.guide.setDistance(sp_convert_distance_full(nv.guidetolerance,
*nv.guidetoleranceunit,
px));