]> Creatis software - creaMaracasVisu.git/commitdiff
#3462 Bug Refres DrawAxisTree3D
authorEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Tue, 27 Apr 2021 18:24:49 +0000 (20:24 +0200)
committerEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Tue, 27 Apr 2021 18:24:49 +0000 (20:24 +0200)
bbtk/src/bbmaracasvisuDrawAxisTree3D.cxx

index 7d1c2624eab60425e2e756bd677104fe5f04b62d..162d020c7c0925c7542529740a2cb850792a9d82 100644 (file)
@@ -218,10 +218,8 @@ void DrawAxisTree3D::Process()
          vecVtkPolyData.clear();
          vecVtkPolyDataMaper.clear();
          vecVtkActors.clear();
-
-
-        for ( iAxis=0 ; iAxis<sizeLstAxis ; iAxis++)
-        {
+         for ( iAxis=0 ; iAxis<sizeLstAxis ; iAxis++)
+         {
             numPoints = lstIndexs[iAxis];
             DrawOneAxis(iGeneral,numPoints,iAxis);
             iGeneral = iGeneral+numPoints;
@@ -229,7 +227,7 @@ void DrawAxisTree3D::Process()
     //         {
     //                 printf("EED  DrawAxisTree3D::Process  %d/%d\n", iAxis,sizeLstAxis );
     //         }
-        } // for iAxis
+         } // for iAxis
 
         if ( bbGetInputiAxis() < (int)(vecVtkActors.size() ) )
         {
@@ -237,16 +235,8 @@ void DrawAxisTree3D::Process()
         } else         {
             printf("DrawAxisTree3D .ERROR.  iAxis for exist in actors vector ...\n");
         } // if 
-
  //   } else {// if oldLstSize
-
-        for (iActor=0 ; iActor<sizeActors; iActor++)
-        {
-                       vecVtkActors[iActor]->GetProperty()->SetOpacity( bbGetInputOpacity() );
-                       vecVtkActors[iActor]->GetProperty()->SetLineWidth( bbGetInputLineWidth() );
-        }
 //    } // if oldLstSize
-
 }
 
 void DrawAxisTree3D::bbUserSetDefaultValues()