Commit 9244567c authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

FIX: ortho correctes

parent 8393af59
......@@ -47,14 +47,12 @@ namespace otb
ossimDEMDir=ossimFilename(DEMDirectory);
ossimDirectory od(DEMDirectory);
if (od.isOpened() == false)
if (!m_ElevManager->loadElevationPath(ossimDEMDir))
{
if (!m_ElevManager->openDirectory(ossimDEMDir))
{
m_Mutex.Unlock();
itkExceptionMacro("Failed to open DEM Directory: "<<ossimDEMDir);
}
m_Mutex.Unlock();
itkExceptionMacro("Failed to open DEM Directory: "<<ossimDEMDir);
}
m_Mutex.Unlock();
}
......
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