]> Creatis software - creaMaracasVisu.git/commitdiff
Clean code
authoreduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Thu, 28 Nov 2024 06:17:00 +0000 (07:17 +0100)
committereduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Thu, 28 Nov 2024 06:17:00 +0000 (07:17 +0100)
bbtk/src/bbmaracasvisuViewerNV.cxx

index 263617ff3302714d6746671780fa3c8817cef7d2..07c3b40883287f0a82f433099e67fa4baf0c6d43 100644 (file)
@@ -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);