MCPcopy Create free account
hub / github.com/OpenOrienteering/mapper / activateSnapHelperWhileEditing

Method activateSnapHelperWhileEditing

src/tools/tool_base.cpp:629–633  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

627}
628
629void MapEditorToolBase::activateSnapHelperWhileEditing(bool enable)
630{
631 snap_helper->setFilter(enable ? SnappingToolHelper::AllTypes : SnappingToolHelper::NoSnapping);
632 reapplyConstraintHelpers();
633}
634
635
636void MapEditorToolBase::updateConstrainedPositions()

Callers

nothing calls this directly

Calls 1

setFilterMethod · 0.80

Tested by

no test coverage detected