From 0b7345a23fd0cc60ae8e05b43237daeb7d5f0fa9 Mon Sep 17 00:00:00 2001 From: "eduardo.davila@creatis.insa-lyon.fr" Date: Fri, 20 Dec 2024 13:28:25 +0100 Subject: [PATCH] Clean code --- bbtk/src/bbcreaMaracasVisuSetPosition.cxx | 2 +- bbtk/src/bbmaracasvisuViewerNV.cxx | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) 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); -- 2.47.1