From bcb1adc56d914c05b4da4459f657a4d028ebaf65 Mon Sep 17 00:00:00 2001 From: bugmaster Date: Fri, 4 Oct 2013 11:09:24 +0400 Subject: [PATCH] 0023654: Problem with displaying vertices in OCC view after closing all OCC views and opening new one Update CSharp sample --- samples/CSharp/OCC/OCCViewer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/CSharp/OCC/OCCViewer.cpp b/samples/CSharp/OCC/OCCViewer.cpp index ebb3a0fa7e..214695c880 100755 --- a/samples/CSharp/OCC/OCCViewer.cpp +++ b/samples/CSharp/OCC/OCCViewer.cpp @@ -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(); }