summaryrefslogtreecommitdiffstats
path: root/src/knot.cpp
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2007-06-24 12:04:12 +0000
committerdvlierop2 <dvlierop2@users.sourceforge.net>2007-06-24 12:04:12 +0000
commit2354d069cd6ba73568d5288fd2ef28e448a623c8 (patch)
tree01e70f587c57452a1e4491f5880efe992a6e592d /src/knot.cpp
parentThis is a minor patch for the windows RC files. I've added the VERSIONINFO me... (diff)
downloadinkscape-2354d069cd6ba73568d5288fd2ef28e448a623c8.tar.gz
inkscape-2354d069cd6ba73568d5288fd2ef28e448a623c8.zip
assert leads to false negatives
(bzr r3090)
Diffstat (limited to 'src/knot.cpp')
-rw-r--r--src/knot.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/knot.cpp b/src/knot.cpp
index 3dd84d508..dc5b78b17 100644
--- a/src/knot.cpp
+++ b/src/knot.cpp
@@ -388,7 +388,6 @@ static int sp_knot_handler(SPCanvasItem *item, GdkEvent *event, SPKnot *knot)
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();
}