Skip to content
Snippets Groups Projects
Commit 381e96e5 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

BUG: wrong sizing index for VTK legacy polyhedrals (closes #829)

parent cdc4b90f
Branches
No related merge requests found
......@@ -574,7 +574,8 @@ void Foam::vtk::vtuSizing::populateArrays
if (output == contentType::LEGACY)
{
// Update size for legacy face stream
faceOutput[startLabel] = (faceIndexer - startLabel);
// (subtract 1 to avoid counting the storage location)
faceOutput[startLabel] = (faceIndexer - 1 - startLabel);
}
else
{
......
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