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

BUG: otbSensorModel should instanciate only ossimSensorModel

parent d5a36f62
No related branches found
No related tags found
No related merge requests found
......@@ -145,7 +145,8 @@ SensorModelBase< TScalarType,NInputDimensions,NOutputDimensions,NParametersDimen
image_kwl.convertToOSSIMKeywordlist(geom);
otbMsgDevMacro(<< "CreateProjection(): ossimKeywordlist: " << geom);
m_Model = ossimProjectionFactoryRegistry::instance()->createProjection(geom);
// m_Model = ossimProjectionFactoryRegistry::instance()->createProjection(geom);
m_Model = ossimSensorModelFactory::instance()->createProjection(geom);
if ( m_Model == NULL)
{
itkExceptionMacro(<< "Invalid Model pointer m_Model == NULL !\n The ossim keywordlist is bad!");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment