1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +03:00

0026978: VIS - Interactive selection is insensitive to swept shell

IVtkOCC_SelectableObject::BoundingBox(), AIS_Shape::BoundingBox() now don't use
BRepBndLib::AddClose() on arbitrary shapes.
This commit is contained in:
kgv
2019-08-12 17:47:28 +03:00
committed by bugmaster
parent 7fab82af5f
commit 2546fd477f
3 changed files with 6 additions and 14 deletions

View File

@@ -166,8 +166,7 @@ const Bnd_Box& IVtkOCC_SelectableObject::BoundingBox()
if (myBndBox.IsVoid())
{
// Add only edges and vertices, in case of troubles this should work anyway
BRepBndLib::AddClose (anOcctShape, myBndBox);
BRepBndLib::Add (anOcctShape, myBndBox, true);
}
return myBndBox;