mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +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:
@@ -590,10 +590,8 @@ public:
|
||||
{
|
||||
return;
|
||||
}
|
||||
for(myAISContext()->InitCurrent();myAISContext()->MoreCurrent();myAISContext()->NextCurrent())
|
||||
{
|
||||
myAISContext()->Erase(myAISContext()->Current(),Standard_True);
|
||||
}
|
||||
|
||||
myAISContext()->EraseSelected (Standard_True);
|
||||
myAISContext()->ClearCurrents();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user