Commit 674eea7b authored by David Luet's avatar David Luet Committed by Robert Maynard
Browse files

Properly fix the issue with reading scalar properties

Corrected the original application of the patch which I did wrong. The
new patch from David fixes the issue.

Change-Id: Ib02c9f3c8e102039f1eb917a6e5fc8ab929a2b10
parent c0062fd2
......@@ -1179,7 +1179,8 @@ int vtkEnSight6Reader::ReadScalarsPerElement(
}
else
{
while (lineRead && strncmp(line, "part", 4) != 0)
while (lineRead && strncmp(line, "part", 4) != 0 &&
strncmp(line, "END TIME STEP", 13) != 0 )
{
elementType = this->GetElementType(line);
if (elementType < 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