mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0026076: Visualization - empty bounding box of a shape after closing local context
Fixed handling of invalid bounding boxes; Links related to temporary objects are now removed from selection structures; Test case for issue #26076
This commit is contained in:
@@ -3478,7 +3478,8 @@ static int VDisplay2 (Draw_Interpretor& theDI,
|
||||
{
|
||||
aShape->SetHilightMode (anObjHighMode);
|
||||
}
|
||||
GetMapOfAIS().Bind (aShape, aName);
|
||||
if (!toDisplayLocal)
|
||||
GetMapOfAIS().Bind (aShape, aName);
|
||||
|
||||
Standard_Integer aDispMode = aShape->HasDisplayMode()
|
||||
? aShape->DisplayMode()
|
||||
|
Reference in New Issue
Block a user