mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00:49 +03:00
0023654: Problem with displaying vertices in OCC view after closing all OCC views and opening new one
Update CSharp sample
This commit is contained in:
@@ -302,7 +302,7 @@ void OCCViewer::EraseObjects(void)
|
||||
if (myAISContext.IsNull())
|
||||
return;
|
||||
for(myAISContext->InitCurrent();myAISContext->MoreCurrent();myAISContext->NextCurrent())
|
||||
myAISContext->Erase(myAISContext->Current(),Standard_True,Standard_False);
|
||||
myAISContext->Erase(myAISContext->Current(),Standard_True);
|
||||
myAISContext->ClearCurrents();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user