summaryrefslogtreecommitdiffstats
path: root/src/selection-chemistry.cpp
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2007-07-28 15:47:49 +0000
committerdvlierop2 <dvlierop2@users.sourceforge.net>2007-07-28 15:47:49 +0000
commitb79f13c5491131606a50a112a296e1011ddc91ee (patch)
tree5959773e1d0206a0d6a4b240dd3f137507232861 /src/selection-chemistry.cpp
parentSet top-level groups as layers with the name of the PDF document (diff)
downloadinkscape-b79f13c5491131606a50a112a296e1011ddc91ee.tar.gz
inkscape-b79f13c5491131606a50a112a296e1011ddc91ee.zip
1) Changes to snapping preferences dialog
2) Strict snapping implemented, i.e. bbox only to bbox and nodes only to paths/nodes 3) Renaming of some constants to improve readability (bzr r3331)
Diffstat (limited to 'src/selection-chemistry.cpp')
-rw-r--r--src/selection-chemistry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp
index 188ace06b..8e916193b 100644
--- a/src/selection-chemistry.cpp
+++ b/src/selection-chemistry.cpp
@@ -1149,7 +1149,7 @@ void sp_selection_paste(bool in_place)
/* Snap the offset of the new item(s) to the grid */
SnapManager &sm = desktop->namedview->snap_manager;
SnapManager::SnapperList gs = sm.getGridSnappers();
- m = sm.freeSnapAlways(Inkscape::Snapper::SNAP_POINT, m, NULL, gs).getPoint();
+ m = sm.freeSnapAlways(Inkscape::Snapper::SNAPPOINT_NODE, m, NULL, gs).getPoint();
sp_selection_move_relative(selection, m);
}