Skip to content
Snippets Groups Projects
Commit f45d3ce9 authored by Julien Michel's avatar Julien Michel
Browse files

BUG: Changing the IO factory order so that MW is only used if Gdal fails

parent c6042692
No related branches found
No related tags found
No related merge requests found
......@@ -63,10 +63,6 @@ namespace otb
itk::MutexLockHolder<itk::SimpleMutexLock> mutexHolder( mutex );
if( firstTime )
{
// MegaWave format for OTB
itk::ObjectFactoryBase::RegisterFactory( MWImageIOFactory::New() );
// RAD Format for OTB
itk::ObjectFactoryBase::RegisterFactory( RADImageIOFactory::New() );
......@@ -83,7 +79,9 @@ namespace otb
// GDAL : New format for OTB
itk::ObjectFactoryBase::RegisterFactory( GDALImageIOFactory::New() );
// MegaWave format for OTB
itk::ObjectFactoryBase::RegisterFactory( MWImageIOFactory::New() );
// ONERA format for OTB
itk::ObjectFactoryBase::RegisterFactory( ONERAImageIOFactory::New() );
......
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