1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +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:
isk
2015-09-10 17:26:45 +03:00
committed by bugmaster
parent 8a53d1c486
commit 7140edaf8e
6 changed files with 19 additions and 18 deletions

View File

@@ -579,10 +579,8 @@ public:
{
return;
}
for(myAISContext()->InitCurrent();myAISContext()->MoreCurrent();myAISContext()->NextCurrent())
{
myAISContext()->Erase(myAISContext()->Current(),Standard_True);
}
myAISContext()->EraseSelected (Standard_True);
myAISContext()->ClearCurrents();
}