diff -r f127982d3412 -r a7c720aff97c src/tools/drawtool.cpp --- a/src/tools/drawtool.cpp Sun Aug 29 20:39:55 2021 +0300 +++ b/src/tools/drawtool.cpp Sun Aug 29 21:28:08 2021 +0300 @@ -12,8 +12,8 @@ static const QBrush polygonBrush = {QColor{64, 255, 128, 192}}; static const QBrush badPolygonBrush = {QColor{255, 96, 96, 192}}; -DrawTool::DrawTool(QObject* parent) : - BaseTool{parent} {} +DrawTool::DrawTool(Model *model, QObject *parent) : + BaseTool{model, parent} {} QString DrawTool::name() const {