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=0fb6795a0a7fb85e9941bffdc4f78ca0a01fa9b9;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;