APM Planner 1.1.18 - missed stuff

This commit is contained in:
Michael Oborne 2012-01-06 07:38:12 +08:00
parent 1f7b81dcf8
commit 1135fea61b

View File

@ -295,8 +295,8 @@ namespace ArdupilotMega.GCSViews
ans = (int)ans;
if (alt != 0)
cell.Value = alt.ToString();
// is absolute online verify height
if (CHK_altmode.Checked && isonline && CHK_geheight.Checked)
// online verify height
if (isonline && CHK_geheight.Checked)
{
cell.Value = ((int)getGEAlt(lat, lng) + int.Parse(TXT_DefaultAlt.Text)).ToString();
}