]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
fixes after code cleanup mbs/pv3d
authormbs <martin.bernhard@opencascade.com>
Fri, 24 Mar 2023 22:45:19 +0000 (22:45 +0000)
committermbs <martin.bernhard@opencascade.com>
Mon, 27 Mar 2023 10:47:10 +0000 (11:47 +0100)
src/SPV3D/SPV3D_ViewModel.cxx
src/SPV3D/SPV3D_ViewWindow.cxx

index 0b939106dcae33b74ce1c271250f5c0095f96745..5657ad2018e1913375447d697fbf4ebaf5965677 100644 (file)
@@ -251,9 +251,9 @@ SALOME_Prs* SPV3D_ViewModel::CreatePrs( const char* entry )
   SPV3D_Prs* prs = new SPV3D_Prs( entry );
   if ( entry ) {
     if(SPV3D_ViewWindow* aViewWindow = dynamic_cast<SPV3D_ViewWindow*>(getViewManager()->getActiveView())) {
-      if(SPV3D_View* aView = aViewWindow->getView()){
-        // NYI
-      }
+      // if(SPV3D_View* aView = aViewWindow->getView()){
+      //   // NYI
+      // }
     }
   }
   return prs;
index 9789e8986fd4d0404e2a9902c6b81bf95abb5184..ea440feb59459775329f1bee7711874bfa46e2a2 100644 (file)
@@ -64,7 +64,7 @@
   Constructor
 */
 SPV3D_ViewWindow::SPV3D_ViewWindow(SUIT_Desktop* theDesktop, SPV3D_ViewModel* theModel):
-  PV3DViewer_ViewWindow(theDesktop, theModel)
+  PV3DViewer_ViewWindow(theDesktop, theModel),
   myModel(theModel),
   myView(NULL)
 {