From 17e38e4d640a3580c8fb837efa6755d9397d2a3e Mon Sep 17 00:00:00 2001 From: Michael Oborne Date: Sat, 19 Jun 2021 11:36:35 +1000 Subject: [PATCH 1/2] Dowding: remove from default build --- ExtLibs/mono | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ExtLibs/mono b/ExtLibs/mono index 36d5c0f6c7..10e3ffac4c 160000 --- a/ExtLibs/mono +++ b/ExtLibs/mono @@ -1 +1 @@ -Subproject commit 36d5c0f6c7fcacb4542be91de2492d2aee656b89 +Subproject commit 10e3ffac4cc9dd03c9e43c3eb526683e87eb45d1 From ad3bd87c8471124aa6173edffd7ebf99b166b81e Mon Sep 17 00:00:00 2001 From: murata Date: Sat, 26 Jun 2021 16:51:18 +0900 Subject: [PATCH 2/2] GCSViews: If the delay of WAYPOINT is set to less than 0, set it to 0 --- GCSViews/FlightPlanner.cs | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/GCSViews/FlightPlanner.cs b/GCSViews/FlightPlanner.cs index 59e60a240a..a2c3b1ab1e 100644 --- a/GCSViews/FlightPlanner.cs +++ b/GCSViews/FlightPlanner.cs @@ -2940,7 +2940,16 @@ private Locationwp DataViewtoLocationwp(int a) false); } - temp.p1 = float.Parse(Commands.Rows[a].Cells[Param1.Index].Value.ToString()); + if (Commands.Rows[a].Cells[Command.Index].Value.Equals("WAYPOINT")) + { + temp.p1 = float.Parse(Commands.Rows[a].Cells[Param1.Index].Value.ToString()); + if (temp.p1 < 0) + { + temp.p1 = 0; + DataGridViewTextBoxCell cell = Commands.Rows[a].Cells[Param1.Index] as DataGridViewTextBoxCell; + cell.Value = temp.p1; + } + } temp.alt = (float)