Commit 4cbb0ab3 authored by Cédric Traizet's avatar Cédric Traizet

BUG: do not cast cartographic center coordinates to int in radius mode (phy)

parent edb510e9
......@@ -571,8 +571,8 @@ private:
}
else if (GetParameterString("mode.radius.unitc") == "phy")
{
centerp[0] = GetParameterInt("mode.radius.cx");
centerp[1] = GetParameterInt("mode.radius.cy");
centerp[0] = GetParameterFloat("mode.radius.cx");
centerp[1] = GetParameterFloat("mode.radius.cy");
}
else // if ( GetParameterString( "mode.radius.unitc" ) == "lon/lat" )
{
......
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