]> Creatis software - creaMaracasVisu.git/blobdiff - bbtk/src/bbmaracasvisuViewerNV.cxx
#3534 Mesh_Application optimization
[creaMaracasVisu.git] / bbtk / src / bbmaracasvisuViewerNV.cxx
index 698893c00e152ca990688367c39b83c14d0e9f6f..71910917db3f261462b458a0035f1e48fc79953a 100644 (file)
@@ -68,7 +68,9 @@ void bbwxMaracas_N_ViewersWidget::OnRefreshView(wxCommandEvent & event)
                mbbViewerNV->_point.push_back( (int)GetY() );
                mbbViewerNV->_point.push_back( (int)GetZ() );
                mbbViewerNV->bbSetOutputPoint( mbbViewerNV->_point );
-               mbbViewerNV->bbSignalOutputModification(std::string("Point"));
+        bool ok=true;
+        if  (mbbViewerNV->bbGetInputReactivityType()==0) { ok=false; }
+        mbbViewerNV->bbSignalOutputModification(std::string("Point"),ok);
        } // if
        wxMaracas_N_ViewersWidget::OnRefreshView(event);
 }
@@ -192,6 +194,7 @@ void ViewerNV::bbUserSetDefaultValues()
        vecNTypeViwer.push_back(0);
        bbSetInputnTypeView(vecNTypeViwer);
     bbSetInputTDxWindow( -1 );
+    bbSetInputReactivityType(1);
 
        bbSetOutputwxVtkBaseView1( NULL );
        bbSetOutputwxVtkBaseView2( NULL );