summaryrefslogtreecommitdiffstats
path: root/src/display/snap-indicator.cpp
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2011-11-04 21:30:19 +0000
committerDiederik van Lierop <mail@diedenrezi.nl>2011-11-04 21:30:19 +0000
commit224a99dc216119d34eb3ed13d12f123158acfe3c (patch)
treecb012b688f276656612f2994e461fda3622bcd20 /src/display/snap-indicator.cpp
parentPowerstroke: add erasing of knots with ctrl+alt (LPE parameter editing on-can... (diff)
downloadinkscape-224a99dc216119d34eb3ed13d12f123158acfe3c.tar.gz
inkscape-224a99dc216119d34eb3ed13d12f123158acfe3c.zip
1) Cycle to the next-closest-snap-source when pressing tab, if the snap-closest-point-only-option has been activated. Works for the selector tool, but also when scaling/stretching/skewing a selection of nodes in the node tool
2) Cleanup and simplification of the code that finds the closest snapsource (bzr r10720)
Diffstat (limited to 'src/display/snap-indicator.cpp')
-rw-r--r--src/display/snap-indicator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display/snap-indicator.cpp b/src/display/snap-indicator.cpp
index 9b61d4a4d..3b9bb57e1 100644
--- a/src/display/snap-indicator.cpp
+++ b/src/display/snap-indicator.cpp
@@ -310,7 +310,7 @@ SnapIndicator::set_new_snapsource(Inkscape::SnapCandidatePoint const &p)
{
remove_snapsource();
- g_assert(_desktop != NULL);
+ g_assert(_desktop != NULL); // If this fails, then likely setup() has not been called on the snap manager (see snap.cpp -> setup())
Inkscape::Preferences *prefs = Inkscape::Preferences::get();
bool value = prefs->getBool("/options/snapindicator/value", true);