Update CSharp sample (issue 0024147) for current state of OCCT
authorbugmaster <bugmaster@opencascade.com>
Fri, 25 Oct 2013 09:52:07 +0000 (13:52 +0400)
committerbugmaster <bugmaster@opencascade.com>
Fri, 25 Oct 2013 09:52:07 +0000 (13:52 +0400)
samples/CSharp/OCCTProxy/OCCTProxy.cpp

index 595d91d..80f6fb9 100644 (file)
@@ -89,7 +89,6 @@ public:
                                 V3d_ZBUFFER,V3d_GOURAUD,V3d_WAIT, 
                                 Standard_True, Standard_False);
 
                                 V3d_ZBUFFER,V3d_GOURAUD,V3d_WAIT, 
                                 Standard_True, Standard_False);
 
-    myViewer()->Init();
     myViewer()->SetDefaultLights();
     myViewer()->SetLightOn();
     myView() = myViewer()->CreateView();
     myViewer()->SetDefaultLights();
     myViewer()->SetLightOn();
     myView() = myViewer()->CreateView();