Commit 140c69c2 authored by Michael Turner's avatar Michael Turner

fix tests

parent 0f115a1b
......@@ -68,13 +68,13 @@ void ProcessLoadCAD::Process()
cout << "Loading CAD for " << m_mesh->m_CADId << endl;
}
m_mesh->m_cad = GetEngineFactory().CreateInstance("oce",m_mesh->m_CADId);
if(m_config["2D"].beenSet)
{
m_mesh->m_cad = GetEngineFactory().CreateInstance("oce",m_mesh->m_CADId);
m_mesh->m_cad->Set2D();
}
m_mesh->m_cad->Set2D();
ASSERTL0(m_mesh->m_cad->LoadCAD(), "Failed to load CAD");
m_mesh->m_hasCAD = true;
......
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