diff options
| author | Keith Packard <keithp@keithp.com> | 2012-07-20 12:08:55 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2012-07-20 12:08:55 -0700 |
| commit | ec97654d20192ca96e7e3293e9d3d80345e37074 (patch) | |
| tree | bf59cc91e413e62019e2e21bfbe103f8b81439b2 /altosui/AltosKML.java | |
| parent | 53a91201c9870aebfe1554aa7c1af609db8afa7e (diff) | |
| parent | 38f66a31174dd367e39d717c527f555add60a9d4 (diff) | |
Merge branch 'master' into pwmin
Diffstat (limited to 'altosui/AltosKML.java')
| -rw-r--r-- | altosui/AltosKML.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/altosui/AltosKML.java b/altosui/AltosKML.java index 2993607b..ff0734b8 100644 --- a/altosui/AltosKML.java +++ b/altosui/AltosKML.java @@ -133,6 +133,12 @@ public class AltosKML implements AltosWriter { if (gps == null) return; + if ((record.seen & (AltosRecord.seen_flight)) == 0) + return; + if ((record.seen & (AltosRecord.seen_gps_lat)) == 0) + return; + if ((record.seen & (AltosRecord.seen_gps_lon)) == 0) + return; if (!started) { start(record); started = true; |
