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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user