PartDesign: Fix no longer possible to make a hole from one selected circle in a sketch (#21030)

* Search for profile shape subelements without simplifying compounds for hole center detection

* Simpler solution
This commit is contained in:
theo-vt
2025-05-08 12:47:26 -04:00
committed by GitHub
parent 9938818d82
commit e56979e76e
3 changed files with 7 additions and 7 deletions

View File

@@ -1827,8 +1827,8 @@ static gp_Pnt toPnt(gp_Vec dir)
}
App::DocumentObjectExecReturn* Hole::execute()
{
TopoShape profileshape = getProfileShape(/*needSubElement*/ false);
{
TopoShape profileshape = getProfileShape();
// Find the base shape
TopoShape base;