mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0024471: Erasing of the shape in HLR sample leads to sample crash.
This commit is contained in:
@@ -216,7 +216,8 @@ void CSelectionDialog::OnGetSelectedShapes()
|
||||
OneOrMoreFound = Standard_True;
|
||||
TopoDS_Shape aShape = anAISShape->Shape();
|
||||
myDisplayableShape->Add (aShape);
|
||||
myInteractiveContext->Display (anAISShape);
|
||||
Handle(AIS_Shape) aSelectedShape = new AIS_Shape (aShape);
|
||||
myInteractiveContext->Display (aSelectedShape);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user