From 5ca881f17fcf0157b82d7c78877829a657dcdb48 Mon Sep 17 00:00:00 2001 From: nds Date: Fri, 27 Dec 2013 10:22:41 +0000 Subject: [PATCH] Refs #289 - Spline profile is represented in OCC view as polyline profile --- src/HYDROGUI/HYDROGUI_ProfileDlg.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ); -- 2.39.2