]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
bos #40245: [CEA] GUI compilation without Paraview and DISABLE_PV3DVIEWER bos/40245 15/head
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Fri, 15 Dec 2023 14:38:10 +0000 (15:38 +0100)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Fri, 15 Dec 2023 14:38:10 +0000 (15:38 +0100)
src/LightApp/LightApp_Application.cxx

index 89fb8ec1278723b21a344ea4783e00963e0672e2..6c0eb05be8832428ac34ac857464bce9085f0281 100644 (file)
@@ -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<PV3DViewer_ViewModel*>( viewMgr->getViewModel() );
-    if ( vm )
-    {
-      // vm->setBackground(...); //NYI
-    }
+    viewMgr = nullptr;
 #endif
-  }
 
   if ( !viewMgr )
     return 0;