fix: Resolve type mismatch when adding wire to sketch

Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
2026-03-03 15:31:45 -07:00
parent 125e97df50
commit 08904feb1e
+1 -1
View File
@@ -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());
}
}
}