From e87052e6d44706a15624b63d005d77feea547870 Mon Sep 17 00:00:00 2001 From: "eduardo.davila@creatis.insa-lyon.fr" Date: Fri, 20 Dec 2024 14:02:41 +0100 Subject: [PATCH] Clean code --- bbtk/src/bbcreaMaracasVisuSetPosition.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bbtk/src/bbcreaMaracasVisuSetPosition.cxx b/bbtk/src/bbcreaMaracasVisuSetPosition.cxx index b2b4884..bd799c7 100644 --- a/bbtk/src/bbcreaMaracasVisuSetPosition.cxx +++ b/bbtk/src/bbcreaMaracasVisuSetPosition.cxx @@ -39,7 +39,7 @@ auto start1 = std::chrono::high_resolution_clock::now(); vtkmprbasedata->SetY( bbGetInputPoint()[1] ); vtkmprbasedata->SetZ( bbGetInputPoint()[2] ); bool tmpFixAxis = vtkmprbasedata->GetFixAxis2D( ); - vtkmprbasedata->SetFixAxis2D( bbGetInputFixAxis2D() ); +// vtkmprbasedata->SetFixAxis2D( bbGetInputFixAxis2D() ); int codeEvent; if (bbGetInputType()==0) { @@ -53,12 +53,10 @@ auto start1 = std::chrono::high_resolution_clock::now(); //EED 2017-09-16 Migration wxWidgets 2.8 to 3.0 #if wxMAJOR_VERSION <= 2 bbGetInputwxVtkBaseView()->GetWxVTKRenderWindowInteractor ()->GetParent()->ProcessEvent( newevent ); - xxxxxx #else bbGetInputwxVtkBaseView()->GetWxVTKRenderWindowInteractor ()->GetParent()->ProcessWindowEvent( newevent ); - yyyyyy #endif - vtkmprbasedata->SetFixAxis2D( tmpFixAxis ); + // vtkmprbasedata->SetFixAxis2D( tmpFixAxis ); } // if bbGetInputPosition } // bbGetInputwxVtkBaseView } // Active -- 2.47.1