diff options
Diffstat (limited to 'src/display/snap-indicator.cpp')
| -rw-r--r-- | src/display/snap-indicator.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/display/snap-indicator.cpp b/src/display/snap-indicator.cpp index e08fc06d6..59578123e 100644 --- a/src/display/snap-indicator.cpp +++ b/src/display/snap-indicator.cpp @@ -40,6 +40,13 @@ SnapIndicator::set_new_snappoint(Inkscape::SnappedPoint const p) remove_snappoint(); g_assert(_desktop != NULL); + + /* Commented out for now, because this might hide any snapping bug! + if (!p.getSnapped()) { + return; // If we haven't snapped, then it is of no use to draw a snapindicator + } + */ + SPNamedView *nv = sp_desktop_namedview(_desktop); if (nv->snapindicator) { |
