Commit a7c653c0 authored by Julien Michel's avatar Julien Michel

STY: Simplify logic (from RFC review)

parent a3ca493c
......@@ -64,13 +64,7 @@ bool SarSensorModelAdapter::LoadState(const ImageKeywordlist& image_kwl)
m_SensorModel = dynamic_cast<ossimplugins::ossimSarSensorModel* >(ossimplugins::ossimPluginProjectionFactory::instance()->createProjection(geom));
if(m_SensorModel != ITK_NULLPTR)
{
return true;
}
return false;
return IsValidSensorModel();
}
bool SarSensorModelAdapter::SaveState(ImageKeywordlist & image_kwl)
......
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