fixes 0003469: FreeCAD crashes on edge selection during fillet edge operation on extruded geometry

This commit is contained in:
wmayer
2018-09-25 22:51:33 +02:00
parent 6c87152d36
commit c345e4e728
2 changed files with 28 additions and 15 deletions

View File

@@ -3460,6 +3460,8 @@ TopoDS_Shape TopoShape::defeaturing(const std::vector<TopoDS_Shape>& s) const
*/
TopoDS_Shape TopoShape::makeShell(const TopoDS_Shape& input) const
{
// For comparison see also:
// GEOMImpl_BooleanDriver::makeCompoundShellFromFaces
if (input.IsNull())
return input;
if (input.ShapeType() != TopAbs_COMPOUND)