]> Creatis software - creaMaracasVisu.git/commitdiff
Test code
authoreduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Sat, 18 Jan 2025 09:38:14 +0000 (10:38 +0100)
committereduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Sat, 18 Jan 2025 09:38:14 +0000 (10:38 +0100)
bbtk/src/bbmaracasvisuViewerNV.cxx
lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkInteractorStyleBaseView.cxx

index 726bb8b08a1d2a1d9dfb2e29061a63c43a0c7756..d8802fb2afbecb1692aa37a8b80a955a08ea1bde 100644 (file)
@@ -62,7 +62,9 @@ bbwxMaracas_N_ViewersWidget::~bbwxMaracas_N_ViewersWidget()
 void bbwxMaracas_N_ViewersWidget::OnRefreshView(wxCommandEvent & event)
 {
     //EED2024-12-23  Refresh syncronisation (maracasvisu and bbtk)
-    wxMaracas_N_ViewersWidget::OnRefreshView(event);
+    printf("EED bbwxMaracas_N_ViewersWidget::OnRefreshView UPS\n");
+//    wxMaracas_N_ViewersWidget::OnRefreshView(event);
+    
     //
     if ( (backX!=(int)GetX()) || (backY!=(int)GetY()) || (backZ!=(int)GetZ()) )
     {
@@ -74,7 +76,6 @@ void bbwxMaracas_N_ViewersWidget::OnRefreshView(wxCommandEvent & event)
         mbbViewerNV->_point.push_back( (int)GetY() );
         mbbViewerNV->_point.push_back( (int)GetZ() );
         mbbViewerNV->bbSetOutputPoint( mbbViewerNV->_point );
-        printf("EED bbwxMaracas_N_ViewersWidget::OnRefreshView \n");
         //ED2024-11-01
         bool ok=true;
         if  (mbbViewerNV->bbGetInputReactivityType()==0) { ok=false; }
index 2faf0982a05a404cfd735b7f8860484ed7dfbc3b..844af945200d2b775cc55a4c63a5e51ea331e192 100644 (file)
@@ -368,7 +368,7 @@ void vtkInteractorStyleBaseView::EvaluateToRefresh()
 #if wxMAJOR_VERSION <= 2
                        this->_wxvtkbaseview->GetWxVTKRenderWindowInteractor()->GetParent()->ProcessEvent(newevent1);
 #else
-//                     this->_wxvtkbaseview->GetWxVTKRenderWindowInteractor()->GetParent()->ProcessWindowEvent(newevent1);
+            this->_wxvtkbaseview->GetWxVTKRenderWindowInteractor()->GetParent()->ProcessWindowEvent(newevent1);
 #endif
 
                        int i;