setDrawTool method
- DrawTool tool
Changes the active drawing tool and resets draw state.
Implementation
void setDrawTool(DrawTool tool) {
if (_drawTool == tool) return;
_drawTool = tool;
_drawModeEngine.reset();
_contracts.markSceneGeometryChanged();
_contracts.notifyNow();
}