Part: [skip ci] fix crash in BRepOffsetAPI_MakeOffsetFix

This commit is contained in:
wmayer
2020-02-17 15:36:45 +01:00
parent a2b95cc187
commit 88849b5981

View File

@@ -159,6 +159,11 @@ const TopoDS_Shape& BRepOffsetAPI_MakeOffsetFix::Shape()
{
if (myResult.IsNull()) {
TopoDS_Shape result = mkOffset.Shape();
if (result.IsNull()) {
myResult = result;
return myResult;
}
if (result.ShapeType() == TopAbs_WIRE) {
MakeWire(result);
}