From 112ee9266cf30c11d9b4f9fb1711006c6143ae41 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 27 Apr 2008 12:27:46 +0000 Subject: [PATCH] Make sure the recorded first point for a trace really is the first point and not the last. Closes #709. --- app/models/trace.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/trace.rb b/app/models/trace.rb index ab99dc290..0e9e7bcc1 100644 --- a/app/models/trace.rb +++ b/app/models/trace.rb @@ -191,6 +191,7 @@ class Trace < ActiveRecord::Base if first f_lat = point['latitude'] f_lon = point['longitude'] + first = false end tp = Tracepoint.new -- 2.43.2