]> Creatis software - creaMaracasVisu.git/commitdiff
Clean code
authoreduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Fri, 20 Dec 2024 13:02:41 +0000 (14:02 +0100)
committereduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Fri, 20 Dec 2024 13:02:41 +0000 (14:02 +0100)
bbtk/src/bbcreaMaracasVisuSetPosition.cxx

index b2b4884c110c7ef02561eed97e38cde7c19d182a..bd799c75a1fda7508250bed6a63a188e181847da 100644 (file)
@@ -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