0029969: Modeling Algorithms - BRepPrimAPI_MakeHalfSpace::Shape() returns NULL shape while reporting IsDone()

This commit is contained in:
kgv
2018-07-18 01:04:58 +03:00
committed by bugmaster
parent edc9567475
commit 288fff89cc

View File

@@ -206,6 +206,7 @@ BRepPrimAPI_MakeHalfSpace::BRepPrimAPI_MakeHalfSpace(const TopoDS_Face& theFace,
aShell.Reverse();
}
BRep_Builder().Add(mySolid, aShell);
myShape = mySolid;
Done();
}
}
@@ -235,6 +236,7 @@ BRepPrimAPI_MakeHalfSpace::BRepPrimAPI_MakeHalfSpace(const TopoDS_Shell& theShel
aShell.Reverse();
}
BRep_Builder().Add(mySolid, aShell);
myShape = mySolid;
Done();
}
}