diff --git a/src/ApplicationController.cpp b/src/ApplicationController.cpp index e48d38d..f551cb3 100644 --- a/src/ApplicationController.cpp +++ b/src/ApplicationController.cpp @@ -185,7 +185,7 @@ void ApplicationController::addRectangle(const gp_Pnt& corner1, const gp_Pnt& co BRepBuilderAPI_MakeWire wireMaker(e1, e2, e3, e4); if (wireMaker.IsDone()) { - m_activeSketch->addShape(wireMaker.Wire()); + m_activeSketch->addShape(wireMaker.Shape()); } } }