Commit 573ec999 authored by Philippe Pébay's avatar Philippe Pébay
Browse files

Fixed a bug

Change-Id: I1b9cf0edf85f034386668abce27b30ee055fab10
parent 53dea381
...@@ -47,7 +47,7 @@ vtkCubeAxesActor::vtkCubeAxesActor() : vtkActor() ...@@ -47,7 +47,7 @@ vtkCubeAxesActor::vtkCubeAxesActor() : vtkActor()
this->FlyMode = VTK_FLY_CLOSEST_TRIAD; this->FlyMode = VTK_FLY_CLOSEST_TRIAD;
// Title and label text properties // Title and label text properties
for (i = 0; i < 3; i++) for (int i = 0; i < 3; i++)
{ {
this->TitleTextProperty[i] = vtkTextProperty::New(); this->TitleTextProperty[i] = vtkTextProperty::New();
this->TitleTextProperty[i]->SetColor(1.,1.,1.); this->TitleTextProperty[i]->SetColor(1.,1.,1.);
...@@ -86,8 +86,7 @@ vtkCubeAxesActor::vtkCubeAxesActor() : vtkActor() ...@@ -86,8 +86,7 @@ vtkCubeAxesActor::vtkCubeAxesActor() : vtkActor()
//this->YAxesGridpolysProperty->LightingOff(); // To be able to see the polys from high camera angles //this->YAxesGridpolysProperty->LightingOff(); // To be able to see the polys from high camera angles
//this->ZAxesGridpolysProperty->LightingOff(); // To be able to see the polys from high camera angles //this->ZAxesGridpolysProperty->LightingOff(); // To be able to see the polys from high camera angles
int i; for (int i = 0; i < NUMBER_OF_ALIGNED_AXIS; i++)
for (i = 0; i < NUMBER_OF_ALIGNED_AXIS; i++)
{ {
this->XAxes[i] = vtkAxisActor::New(); this->XAxes[i] = vtkAxisActor::New();
this->XAxes[i]->SetTickVisibility(1); this->XAxes[i]->SetTickVisibility(1);
...@@ -232,7 +231,7 @@ vtkCubeAxesActor::vtkCubeAxesActor() : vtkActor() ...@@ -232,7 +231,7 @@ vtkCubeAxesActor::vtkCubeAxesActor() : vtkActor()
this->LastFlyMode = -1; this->LastFlyMode = -1;
for (i = 0; i < NUMBER_OF_ALIGNED_AXIS; i++) for (int i = 0; i < NUMBER_OF_ALIGNED_AXIS; i++)
{ {
this->RenderAxesX[i] = i; this->RenderAxesX[i] = i;
this->RenderAxesY[i] = i; this->RenderAxesY[i] = i;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment