diff --git a/src/snapper.cpp b/src/snapper.cpp
index 7e08c22ef7a71d8d2c77b154252da9068548c039..751b663e30f8393fbc83dc0d5f211a6fc892abe1 100644 (file)
--- a/src/snapper.cpp
+++ b/src/snapper.cpp
* Released under GNU GPL, read the file 'COPYING' for more information.
*/
-#include "libnr/nr-values.h"
#include "sp-namedview.h"
#include "inkscape.h"
#include "desktop.h"
*/
Inkscape::Snapper::Snapper(SnapManager *sm, Geom::Coord const /*t*/) :
_snapmanager(sm),
- _snap_enabled(true)
+ _snap_enabled(true),
+ _snap_visible_only(true)
{
g_assert(_snapmanager != NULL);
}
_snap_enabled = s;
}
+void Inkscape::Snapper::setSnapVisibleOnly(bool s)
+{
+ _snap_visible_only = s;
+}
+
/*
Local Variables:
mode:c++