From c795b7b7bdaf33b95da9e8a7c00037d90e3d686d Mon Sep 17 00:00:00 2001 From: "eduardo.davila@creatis.insa-lyon.fr" Date: Thu, 28 Nov 2024 07:17:00 +0100 Subject: [PATCH] Clean code --- bbtk/src/bbmaracasvisuViewerNV.cxx | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/bbtk/src/bbmaracasvisuViewerNV.cxx b/bbtk/src/bbmaracasvisuViewerNV.cxx index 263617f..07c3b40 100644 --- a/bbtk/src/bbmaracasvisuViewerNV.cxx +++ b/bbtk/src/bbmaracasvisuViewerNV.cxx @@ -69,14 +69,17 @@ void bbwxMaracas_N_ViewersWidget::OnRefreshView(wxCommandEvent & event) mbbViewerNV->_point.push_back( (int)GetY() ); mbbViewerNV->_point.push_back( (int)GetZ() ); mbbViewerNV->bbSetOutputPoint( mbbViewerNV->_point ); -// bool ok=true; -//ED2024-11-01 -// if (mbbViewerNV->bbGetInputReactivityType()==0) { ok=false; } -// mbbViewerNV->bbSignalOutputModification(std::string("Point"),ok); - if (mbbViewerNV->bbGetInputReactivityType()==1) - { - mbbViewerNV->bbSignalOutputModification(std::string("Point"),true); - } // if type + + //ED2024-11-01 + bool ok=true; + if (mbbViewerNV->bbGetInputReactivityType()==0) { ok=false; } + mbbViewerNV->bbSignalOutputModification(std::string("Point"),ok); + +// if (mbbViewerNV->bbGetInputReactivityType()==1) +// { +// mbbViewerNV->bbSignalOutputModification(std::string("Point"),true); +// } // if type + } // if X Y Z wxMaracas_N_ViewersWidget::OnRefreshView(event); -- 2.47.1