From 97e3e438687d55d165563131dbf1a60f22fe6363 Mon Sep 17 00:00:00 2001 From: "eduardo.davila@creatis.insa-lyon.fr" Date: Sat, 18 Jan 2025 10:38:14 +0100 Subject: [PATCH] Test code --- bbtk/src/bbmaracasvisuViewerNV.cxx | 5 +++-- .../wxWindows/widgets/vtkInteractorStyleBaseView.cxx | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/bbtk/src/bbmaracasvisuViewerNV.cxx b/bbtk/src/bbmaracasvisuViewerNV.cxx index 726bb8b..d8802fb 100644 --- a/bbtk/src/bbmaracasvisuViewerNV.cxx +++ b/bbtk/src/bbmaracasvisuViewerNV.cxx @@ -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; } diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkInteractorStyleBaseView.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkInteractorStyleBaseView.cxx index 2faf098..844af94 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkInteractorStyleBaseView.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkInteractorStyleBaseView.cxx @@ -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; -- 2.49.0