0023654: Problem with displaying vertices in OCC view after closing all OCC views...
authorbugmaster <bugmaster@opencascade.com>
Fri, 4 Oct 2013 07:09:24 +0000 (11:09 +0400)
committerbugmaster <bugmaster@opencascade.com>
Fri, 4 Oct 2013 07:09:24 +0000 (11:09 +0400)
Update CSharp sample

samples/CSharp/OCC/OCCViewer.cpp

index ebb3a0f..214695c 100755 (executable)
@@ -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();
 }