mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-13 14:27:08 +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;
|
OneOrMoreFound = Standard_True;
|
||||||
TopoDS_Shape aShape = anAISShape->Shape();
|
TopoDS_Shape aShape = anAISShape->Shape();
|
||||||
myDisplayableShape->Add (aShape);
|
myDisplayableShape->Add (aShape);
|
||||||
myInteractiveContext->Display (anAISShape);
|
Handle(AIS_Shape) aSelectedShape = new AIS_Shape (aShape);
|
||||||
|
myInteractiveContext->Display (aSelectedShape);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user