From 0fb6795a0a7fb85e9941bffdc4f78ca0a01fa9b9 Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Fri, 15 Dec 2023 15:38:10 +0100 Subject: [PATCH] bos #40245: [CEA] GUI compilation without Paraview and DISABLE_PV3DVIEWER --- src/LightApp/LightApp_Application.cxx | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) 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; -- 2.39.2