summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5eb2ccf)
raw | patch | inline | side by side (parent: 5eb2ccf)
author | dvlierop2 <dvlierop2@users.sourceforge.net> | |
Sun, 24 Jun 2007 12:04:12 +0000 (12:04 +0000) | ||
committer | dvlierop2 <dvlierop2@users.sourceforge.net> | |
Sun, 24 Jun 2007 12:04:12 +0000 (12:04 +0000) |
src/knot.cpp | patch | blob | history |
diff --git a/src/knot.cpp b/src/knot.cpp
index 3dd84d5089f05ce8fd33d3a78865bd87749f98d0..dc5b78b1754c54f0fe4ff9cee1d3fcfa54f75123 100644 (file)
--- a/src/knot.cpp
+++ b/src/knot.cpp
if (knot->anchor == GTK_ANCHOR_CENTER) {
SnapManager const &m = knot->desktop->namedview->snap_manager;
SPItem *curr = knot->desktop->selection->singleItem(); //Is this really the only way to get to the item to which this knot belongs?
- g_assert(curr != NULL);
motion_dt = m.freeSnap(Inkscape::Snapper::BBOX_POINT | Inkscape::Snapper::SNAP_POINT, motion_dt, curr).getPoint();
}