]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Refs #289 - Spline profile is represented in OCC view as polyline profile
authornds <nds@opencascade.com>
Fri, 27 Dec 2013 10:22:41 +0000 (10:22 +0000)
committernds <nds@opencascade.com>
Fri, 27 Dec 2013 10:22:41 +0000 (10:22 +0000)
src/HYDROGUI/HYDROGUI_ProfileDlg.cxx

index 499e5ec74d4f589de2ba21498d30da8c49ecfe0e..3a72a04c4a1cf3e86d3beef2b12a7d0ca59b1304 100644 (file)
@@ -69,7 +69,7 @@ HYDROGUI_ProfileDlg::HYDROGUI_ProfileDlg( HYDROGUI_Module* theModule, const QStr
   anAddElementLayout->setSpacing( 5 );
 
   myViewManager = new OCCViewer_ViewManager( theModule->getApp()->activeStudy(), 0 );
-  OCCViewer_Viewer* aViewer = new OCCViewer_Viewer( true );
+  OCCViewer_Viewer* aViewer = new OCCViewer_Viewer( false /*erase trihedron*/);
 
   SUIT_ResourceMgr* aResMgr = SUIT_Session::session()->resourceMgr();
   aViewer->setBackground( OCCViewer_ViewFrame::TOP_LEFT,
@@ -90,6 +90,7 @@ HYDROGUI_ProfileDlg::HYDROGUI_ProfileDlg( HYDROGUI_Module* theModule, const QStr
 
   myViewManager->setViewModel( aViewer );// custom view model, which extends SALOME_View interface
   SUIT_ViewWindow* aViewWin = myViewManager->createViewWindow();
+  aViewer->setStaticTrihedronDisplayed( false );
   addWidget( aViewWin, 4 );
   myEditorWidget->setOCCViewer( aViewer );