From: nds Date: Fri, 27 Dec 2013 10:22:41 +0000 (+0000) Subject: Refs #289 - Spline profile is represented in OCC view as polyline profile X-Git-Tag: BR_hydro_v_0_7~23 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5ca881f17fcf0157b82d7c78877829a657dcdb48;p=modules%2Fhydro.git Refs #289 - Spline profile is represented in OCC view as polyline profile --- diff --git a/src/HYDROGUI/HYDROGUI_ProfileDlg.cxx b/src/HYDROGUI/HYDROGUI_ProfileDlg.cxx index 499e5ec7..3a72a04c 100644 --- a/src/HYDROGUI/HYDROGUI_ProfileDlg.cxx +++ b/src/HYDROGUI/HYDROGUI_ProfileDlg.cxx @@ -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 );