Skip to content
Snippets Groups Projects
Commit 1891f46a authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

BUG: fix ERS for direct use

parent 5e087d0c
No related branches found
No related tags found
No related merge requests found
......@@ -185,6 +185,13 @@ bool ossimErsSarModel::open(const ossimFilename& file)
ossimNotify(ossimNotifyLevel_DEBUG)
<< "End reading Leader file" << std::endl;
}
//To initialize the whole state, reusing saveState/loadState
//FIXME: This could be at the superclass level instead
ossimKeywordlist kwl;
saveState(kwl);
loadState(kwl);
} // matches: if ( result=isErsLeader(file) == True )
} // matches: if ( file.exists() )
......@@ -198,11 +205,7 @@ bool ossimErsSarModel::open(const ossimFilename& file)
<< std::endl;
}
//To initialize the whole state, reusing saveState/loadState
//FIXME: This could be at the superclass level instead
ossimKeywordlist kwl;
saveState(kwl);
loadState(kwl);
return result;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment