]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Migration to new CASCADE.
authoradv <adv@opencascade.com>
Tue, 26 Nov 2013 12:30:18 +0000 (12:30 +0000)
committeradv <adv@opencascade.com>
Tue, 26 Nov 2013 12:30:18 +0000 (12:30 +0000)
src/HYDROCurveCreator/OCCViewer_ViewWidget.cxx

index 8ac0dc55167a492f4b0d958bcb5678a68f214edb..791e2f2863b85eb31ed1b31ad45ee16fbd703881 100644 (file)
@@ -187,7 +187,7 @@ OCCViewer_ViewWidget::OCCViewer_ViewWidget(QWidget* parent)
   anAnalLay->addWidget(aBtnBox, 0, 0, 1, 2);
 
   myV3dViewer = OCCViewer_VService::CreateViewer((short*) "Viewer3d", "", "", 1000., V3d_XposYnegZpos, true, true);
-  myV3dViewer->Init();
+  //myV3dViewer->Init(); // to avoid creation of the useless perspective view (see OCCT issue 0024267)
 
 #if OCC_VERSION_LARGE <= 0x06060000 // Porting to OCCT higher 6.6.0 version
   myV3dCollector = OCCViewer_VService::CreateViewer((short*) "Collector3d", "", "", 1000., V3d_XposYnegZpos, true, true);