| 112 | } |
| 113 | |
| 114 | void ToolsManager::resetInteractionState() { |
| 115 | for (auto& tool : toolInstances) { |
| 116 | if (tool) { |
| 117 | tool->reset(); |
| 118 | } |
| 119 | } |
| 120 | |
| 121 | if (pickingSystem) { |
| 122 | pickingSystem->clearSelection(); |
| 123 | pickingSystem->getOverlay().reset(); |
| 124 | } |
| 125 | |
| 126 | if (uiState != nullptr) { |
| 127 | uiState->selectedAtomCount = 0; |
| 128 | uiState->drawToolTrip = false; |
| 129 | uiState->toolTooltipText.clear(); |
| 130 | } |
| 131 | isInteracting = false; |
| 132 | } |
| 133 | |
| 134 | bool ToolsManager::isInteractingNow() noexcept { return isInteracting; } |
| 135 |
nothing calls this directly
no test coverage detected