]> Creatis software - creaMaracasVisu.git/commitdiff
Clean code
authorEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Mon, 14 Dec 2020 09:26:36 +0000 (10:26 +0100)
committerEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Mon, 14 Dec 2020 09:26:36 +0000 (10:26 +0100)
lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkBaseView.cxx
lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkMPR2DView.cxx

index 77d3843..b18d582 100644 (file)
@@ -60,7 +60,6 @@ wxVtkBaseView::~wxVtkBaseView()
 //-------------------------------------------------------------------
 crea::wxVTKRenderWindowInteractor* wxVtkBaseView::GetWxVTKRenderWindowInteractor() throw (char*)
 {
-
        if(_iren==NULL)
        {
                throw "wxVtkBaseView::GetWxVTKRenderWindowInteractor() _iren cwxVTKRenderWindowInteractorPlus =NULL";
index bd0582e..f253333 100644 (file)
@@ -389,10 +389,7 @@ void wxVtkMPR2DView::Refresh()
                        } // if GetFixAxis2D
                        _lineAActor->GetProperty()->SetOpacity( opacityAxis );
                        _lineBActor->GetProperty()->SetOpacity( opacityAxis );
-                       
                        SetOpacityText( opacityAxis );
-
-                       
                        _backX                  = xx;
                        _backY                  = yy;
                        _backZ                  = zz;