Commit dd8d17f5 authored by Dave Moxey's avatar Dave Moxey

Add fix for some older .rea inputs

parent 236cb5f9
......@@ -805,7 +805,7 @@ void InputNek::Process()
surfEl->GetEdge(i)->m_curveType = f->m_edgeList[i]->m_curveType;
}
}
else
else if (faceId < elm->GetEdgeCount())
{
EdgeSharedPtr f = elm->GetEdge(faceId);
......@@ -825,6 +825,11 @@ void InputNek::Process()
LibUtilities::eSegment, conf, nodeList, tags);
}
if (!surfEl)
{
continue;
}
LibUtilities::ShapeType surfElType = surfEl->GetConf().m_e;
if (!found)
......
Markdown is supported
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