From: eduardo.davila@creatis.insa-lyon.fr Date: Fri, 20 Dec 2024 13:02:41 +0000 (+0100) Subject: Clean code X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=e87052e6d44706a15624b63d005d77feea547870;p=creaMaracasVisu.git Clean code --- 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