summaryrefslogtreecommitdiffstats
path: root/src/grid-snapper.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2006-10-23 20:02:46 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2006-10-23 20:02:46 +0000
commit60c80ca6de31f89d804ac9fe5b6834ccb60e0d76 (patch)
tree117943d92bff9a406f56a5ecc9eae39a8b22dfc0 /src/grid-snapper.cpp
parentaxonomgrid: Bugfix (diff)
downloadinkscape-60c80ca6de31f89d804ac9fe5b6834ccb60e0d76.tar.gz
inkscape-60c80ca6de31f89d804ac9fe5b6834ccb60e0d76.zip
Committed double code because of the hurry to let you use the axonom-snapping stuff.
(bzr r1848)
Diffstat (limited to 'src/grid-snapper.cpp')
-rw-r--r--src/grid-snapper.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/grid-snapper.cpp b/src/grid-snapper.cpp
index 03f6c9d3a..2d6e8e2e3 100644
--- a/src/grid-snapper.cpp
+++ b/src/grid-snapper.cpp
@@ -127,12 +127,13 @@ Inkscape::AxonomGridSnapper::_getSnapLines(NR::Point const &p) const
NR::Coord const rounded = round_to_nearest_multiple_plus(p[0], scaled_spacing, griditem->origin[0]);
+ /*
int a = round(scaled_spacing);
int b = round(p[0]);
int c = round(rounded);
g_message("hier %d; %d; %d",a,b,c);
-
+ */
s.push_back(std::make_pair(NR::Dim2(0), rounded));