Commit 608e6e5d authored by Charles Law's avatar Charles Law
Browse files

Fix: swap strips and polys order

parent 9783c73c
......@@ -367,18 +367,18 @@ void vtkLinearExtrusionFilter::Execute()
lineIds->GetId(i),outCellId);
++outCellId;
}
j = stripIds->GetNumberOfIds();
j = polyIds->GetNumberOfIds();
for (i = 0; i < j; ++i)
{
output->GetCellData()->CopyData(input->GetCellData(),
stripIds->GetId(i),outCellId);
polyIds->GetId(i),outCellId);
++outCellId;
}
j = polyIds->GetNumberOfIds();
j = stripIds->GetNumberOfIds();
for (i = 0; i < j; ++i)
{
output->GetCellData()->CopyData(input->GetCellData(),
polyIds->GetId(i),outCellId);
stripIds->GetId(i),outCellId);
++outCellId;
}
lineIds->Delete();
......
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