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

BUG: remove useless if

parent 4400d57a
Branches
Tags
No related merge requests found
......@@ -84,14 +84,9 @@ ForwardSensorModel< TScalarType, NInputDimensions, NOutputDimensions>
currentPoint[1] = ossimGPointRef.lat;
// otbMsgDevMacro(<< "PointP Before iter : (" << point[1] << "," << point[0] <<")");
if (this->m_UseDEM)
{
heightTmp = this->m_DEMHandler->GetHeightAboveMSL(currentPoint);
}
else
{
heightTmp = this->m_AverageElevation;
}
heightTmp = this->m_DEMHandler->GetHeightAboveMSL(currentPoint);
// otbMsgDevMacro(<< "height : " << heightTmp);
this->m_Model->lineSampleHeightToWorld(ossimPoint, heightTmp, ossimGPointRef);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment