]> 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 77d384390a912d2156b3bf4e9566c626592a013e..b18d582c3334587e964397a1d35f6375c6f5ebd0 100644 (file)
@@ -60,7 +60,6 @@ wxVtkBaseView::~wxVtkBaseView()
 //-------------------------------------------------------------------
 crea::wxVTKRenderWindowInteractor* wxVtkBaseView::GetWxVTKRenderWindowInteractor() throw (char*)
 {
-
        if(_iren==NULL)
        {
                throw "wxVtkBaseView::GetWxVTKRenderWindowInteractor() _iren cwxVTKRenderWindowInteractorPlus =NULL";
index bd0582eb3e0afeee6ef0654c4cc11481c2dfa406..f25333358eea03391346789dcde9ed9cc6953a28 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;