Commit 24b4befd authored by Dave Moxey's avatar Dave Moxey Committed by Chris Cantwell
Browse files

Add fix for some older .rea inputs

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