Part: [skip ci] fix crash in BRepOffsetAPI_MakeOffsetFix
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user