Commit 5f25e94c authored by Ken Martin's avatar Ken Martin

new ivar in superclass makes local ivar redundent

Was causing a shadowed ivar warning, removed subclass ivar
after examining code.
parent b3f62a2d
......@@ -178,7 +178,6 @@ vtkAffineRepresentation2D::vtkAffineRepresentation2D()
// Transformation matrix
this->CurrentTransform = vtkTransform::New();
this->TotalTransform = vtkTransform::New();
this->TempTransform = vtkTransform::New();
this->CurrentTranslation[0] = 0.0;
this->CurrentTranslation[1] = 0.0;
......@@ -231,7 +230,6 @@ vtkAffineRepresentation2D::~vtkAffineRepresentation2D()
this->CurrentTransform->Delete();
this->TotalTransform->Delete();
this->TempTransform->Delete();
}
//-------------------------------------------------------------------------
......
......@@ -186,7 +186,6 @@ protected:
// The internal transformation matrix
vtkTransform *CurrentTransform;
vtkTransform *TotalTransform;
vtkTransform *TempTransform;
double Origin[4]; //the current origin in world coordinates
double DisplayOrigin[3]; //the current origin in display coordinates
double CurrentTranslation[3]; //translation this movement
......
Markdown is supported
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