| 69 | } |
| 70 | |
| 71 | void 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 | } |