mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0026628: Button Erase (Delete where erase algorythm is used) works incorrect
Update AIS_InteractiveContext::EraseSelected() method. Fix HLR sample Fix samples.
This commit is contained in:
@@ -234,8 +234,7 @@ void DocumentCommon::onTransparency()
|
||||
|
||||
void DocumentCommon::onDelete()
|
||||
{
|
||||
for ( myContext->InitCurrent(); myContext->MoreCurrent(); myContext->NextCurrent() )
|
||||
myContext->Erase( myContext->Current(), false);
|
||||
myContext->EraseSelected (Standard_False);
|
||||
myContext->ClearSelected();
|
||||
getApplication()->onSelectionChanged();
|
||||
}
|
||||
|
Reference in New Issue
Block a user