MCPcopy Create free account
hub / github.com/ElectroZybr/LatticeLab / reset

Method reset

App/interaction/tools/SpawnBoxTool.cpp:71–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71void SpawnBoxTool::reset() {
72 ToolContext& ctx = context();
73 if (ctx.pickingSystem != nullptr) {
74 auto& overlay = ctx.pickingSystem->getOverlay();
75 overlay.boxVisible = false;
76 }
77 if (ctx.uiState != nullptr) {
78 ctx.uiState->drawToolTrip = false;
79 ctx.uiState->toolTooltipText.clear();
80 }
81}

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected