From: Nabil Ghodbane Date: Fri, 15 Dec 2023 14:38:10 +0000 (+0100) Subject: bos #40245: [CEA] GUI compilation without Paraview and DISABLE_PV3DVIEWER X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fbos%2F40245;p=modules%2Fgui.git bos #40245: [CEA] GUI compilation without Paraview and DISABLE_PV3DVIEWER --- diff --git a/src/LightApp/LightApp_Application.cxx b/src/LightApp/LightApp_Application.cxx index 89fb8ec12..6c0eb05be 100644 --- a/src/LightApp/LightApp_Application.cxx +++ b/src/LightApp/LightApp_Application.cxx @@ -2098,15 +2098,10 @@ SUIT_ViewManager* LightApp_Application::createViewManager( const QString& vmType new LightApp_PV3DSelector( vm, mySelMgr ); } + } #else - viewMgr = new PV3DViewer_ViewManager( activeStudy(), desktop() ); - PV3DViewer_ViewModel* vm = dynamic_cast( viewMgr->getViewModel() ); - if ( vm ) - { - // vm->setBackground(...); //NYI - } + viewMgr = nullptr; #endif - } if ( !viewMgr ) return 0;