Skip to content

Commit bf9967d

Browse files
committed
Add third parameter useTriangulation==false
1 parent 05f9df4 commit bf9967d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Core/Geom/OCCHelper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1004,7 +1004,7 @@ computeBoundingBox(const TopoDS_Shape& shape, gp_Pnt& pmin, gp_Pnt& pmax)
10041004
{
10051005
Bnd_Box box;
10061006

1007-
BRepBndLib::AddOptimal(shape, box);
1007+
BRepBndLib::AddOptimal(shape, box, false);
10081008
double xmin, ymin, zmin, xmax, ymax, zmax;
10091009
box.Get(xmin, ymin, zmin, xmax, ymax, zmax);
10101010
pmin.SetCoord(xmin, ymin, zmin);

0 commit comments

Comments
 (0)