Commit afaddec5 authored by Jon Woodring's avatar Jon Woodring
Browse files

One more shadowed variable warning.

Change-Id: I07822a3ab31b70565961463e1dc3038edcd2b488
parent 7736b777
......@@ -2081,11 +2081,11 @@ void vtkWindBladeReader::LoadBladeData(int timeStep)
}
// Add the towers to the geometry
for (int i = 0; i < this->NumberOfBladeTowers; i++)
for (int j = 0; j < this->NumberOfBladeTowers; j++)
{
x = this->XPosition->GetValue(i);
y = this->YPosition->GetValue(i);
z = this->HubHeight->GetValue(i);
x = this->XPosition->GetValue(j);
y = this->YPosition->GetValue(j);
z = this->HubHeight->GetValue(j);
this->BPoints->InsertNextPoint(x-2, y-2, 0.0);
this->BPoints->InsertNextPoint(x+2, y-2, 0.0);
......
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