From: eduardo.davila@creatis.insa-lyon.fr Date: Fri, 20 Dec 2024 12:28:25 +0000 (+0100) Subject: Clean code X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=0b7345a23fd0cc60ae8e05b43237daeb7d5f0fa9;p=creaMaracasVisu.git Clean code --- diff --git a/bbtk/src/bbcreaMaracasVisuSetPosition.cxx b/bbtk/src/bbcreaMaracasVisuSetPosition.cxx index 3e06018..f1578ae 100644 --- a/bbtk/src/bbcreaMaracasVisuSetPosition.cxx +++ b/bbtk/src/bbcreaMaracasVisuSetPosition.cxx @@ -28,7 +28,7 @@ void SetPosition::Process() // * TYPE is the C++ type of the input/output // (the one provided in the attribute 'type' of the tag 'input') if (bbGetInputActive()==true) - { + { if (bbGetInputwxVtkBaseView()!=NULL) { vtkMPRBaseData* vtkmprbasedata = (vtkMPRBaseData*) (bbGetInputwxVtkBaseView()->GetVtkBaseData()); diff --git a/bbtk/src/bbmaracasvisuViewerNV.cxx b/bbtk/src/bbmaracasvisuViewerNV.cxx index 11ae408..9f2bb50 100644 --- a/bbtk/src/bbmaracasvisuViewerNV.cxx +++ b/bbtk/src/bbmaracasvisuViewerNV.cxx @@ -77,8 +77,6 @@ void bbwxMaracas_N_ViewersWidget::OnRefreshView(wxCommandEvent & event) if (mbbViewerNV->bbGetInputReactivityType()==0) { ok=false; } mbbViewerNV->bbSignalOutputModification(std::string("Point"),ok); - - // if (mbbViewerNV->bbGetInputReactivityType()==1) // { // mbbViewerNV->bbSignalOutputModification(std::string("Point"),true);