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

Method clearObjectSelection

src/core/map.cpp:1064–1072  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1062}
1063
1064void Map::clearObjectSelection(bool emit_selection_changed)
1065{
1066 selection_renderables->clear();
1067 object_selection.clear();
1068 first_selected_object = nullptr;
1069
1070 if (emit_selection_changed)
1071 emit objectSelectionChanged();
1072}
1073
1074void Map::emitSelectionChanged()
1075{

Callers 15

editToolMethod · 0.80
finishEditingMethod · 0.80
fillBoundaryMethod · 0.80
finishMethod · 0.80
finishEditingMethod · 0.80
finishDrawingMethod · 0.80
keyPressMethod · 0.80
createObjectMethod · 0.80
clickReleaseMethod · 0.80
selectAtMethod · 0.80
selectBoxMethod · 0.80
keyPressMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected