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:
@@ -185,7 +185,7 @@ void ApplicationController::addRectangle(const gp_Pnt& corner1, const gp_Pnt& co
|
|||||||
|
|
||||||
BRepBuilderAPI_MakeWire wireMaker(e1, e2, e3, e4);
|
BRepBuilderAPI_MakeWire wireMaker(e1, e2, e3, e4);
|
||||||
if (wireMaker.IsDone()) {
|
if (wireMaker.IsDone()) {
|
||||||
m_activeSketch->addShape(wireMaker.Wire());
|
m_activeSketch->addShape(wireMaker.Shape());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user