| 557 | } |
| 558 | |
| 559 | void DrawingProgram::modify_grid(const NetworkingObjects::NetObjWeakPtr<WorldGrid>& gridToModify) { |
| 560 | std::unique_ptr<GridModifyTool> newTool(std::make_unique<GridModifyTool>(*this)); |
| 561 | newTool->set_grid(gridToModify); |
| 562 | switch_to_tool_ptr(std::move(newTool)); |
| 563 | } |
| 564 | |
| 565 | void DrawingProgram::update() { |
| 566 | selection.update(); |
no test coverage detected