mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-03 14:10:33 +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())
|
if (myAISContext.IsNull())
|
||||||
return;
|
return;
|
||||||
for(myAISContext->InitCurrent();myAISContext->MoreCurrent();myAISContext->NextCurrent())
|
for(myAISContext->InitCurrent();myAISContext->MoreCurrent();myAISContext->NextCurrent())
|
||||||
myAISContext->Erase(myAISContext->Current(),Standard_True,Standard_False);
|
myAISContext->Erase(myAISContext->Current(),Standard_True);
|
||||||
myAISContext->ClearCurrents();
|
myAISContext->ClearCurrents();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user