From 35c34d950a2c4b3cd3f1188f2aedfd9c0142c9fa Mon Sep 17 00:00:00 2001 From: mbs Date: Fri, 24 Mar 2023 22:45:19 +0000 Subject: [PATCH] fixes after code cleanup --- src/SPV3D/SPV3D_ViewModel.cxx | 6 +++--- src/SPV3D/SPV3D_ViewWindow.cxx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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) { -- 2.39.2