Commit 0a9fdb06 authored by Dave Moxey's avatar Dave Moxey

Add fix for XML output in FieldConvert when composite is empty

parent b1bf964a
......@@ -1925,6 +1925,12 @@ namespace Nektar
{
stringstream s;
TiXmlElement *c = new TiXmlElement("C");
if (cIt->second->size() == 0)
{
continue;
}
GeometrySharedPtr firstGeom = cIt->second->at(0);
int shapeDim = firstGeom->GetShapeDim();
string tag = (shapeDim < m_meshDimension) ?
......
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