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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user