Skip to content
Snippets Groups Projects
Commit 39426e88 authored by mattijs's avatar mattijs
Browse files

BUG: vtkUnstructuredReader: update faceMap consistent with faces.

parent 6198cfc3
No related merge requests found
......@@ -704,6 +704,7 @@ void Foam::vtkUnstructuredReader::read(ISstream& inFile)
labelList faceVerts;
readBlock(inFile, nNumbers, faceVerts);
faces_.setSize(nFaces);
faceMap_.setSize(nFaces);
label elemI = 0;
forAll(faces_, faceI)
{
......
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