mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +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:
@@ -793,7 +793,7 @@ const Bnd_Box& AIS_Shape::BoundingBox()
|
||||
}
|
||||
|
||||
if(myCompBB) {
|
||||
BRepBndLib::AddClose(myshape, myBB);
|
||||
BRepBndLib::Add (myshape, myBB, false);
|
||||
myCompBB = Standard_False;
|
||||
}
|
||||
return myBB;
|
||||
|
Reference in New Issue
Block a user