From: mbs Date: Fri, 24 Mar 2023 22:45:19 +0000 (+0000) Subject: fixes after code cleanup X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=35c34d950a2c4b3cd3f1188f2aedfd9c0142c9fa;p=modules%2Fgui.git fixes after code cleanup --- diff --git a/src/SPV3D/SPV3D_ViewModel.cxx b/src/SPV3D/SPV3D_ViewModel.cxx index 0b939106d..5657ad201 100644 --- a/src/SPV3D/SPV3D_ViewModel.cxx +++ b/src/SPV3D/SPV3D_ViewModel.cxx @@ -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(getViewManager()->getActiveView())) { - if(SPV3D_View* aView = aViewWindow->getView()){ - // NYI - } + // if(SPV3D_View* aView = aViewWindow->getView()){ + // // NYI + // } } } return prs; diff --git a/src/SPV3D/SPV3D_ViewWindow.cxx b/src/SPV3D/SPV3D_ViewWindow.cxx index 9789e8986..ea440feb5 100644 --- a/src/SPV3D/SPV3D_ViewWindow.cxx +++ b/src/SPV3D/SPV3D_ViewWindow.cxx @@ -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) {