Commit 1844ce5a authored by Mark OLESEN's avatar Mark OLESEN
Browse files

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

parent c18a2a63
......@@ -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
{
......
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