Commit 63ca66a1 authored by Sven Greiner's avatar Sven Greiner
Browse files

Rename method

parent 9fd0485d
......@@ -52,7 +52,7 @@ class Point:
#-------------------------------------------------------------------------------
def recalculatePointlist(points):
def recalculateTrack(points):
for i in xrange(len(points)):
point = points[i]
if i>0:
......@@ -75,7 +75,7 @@ def parseTrack(gpx):
if i>0:
point.distance = points[i-1].distance + point.distanceTo(points[i-1])
points.append(point)
recalculatePointlist(points)
recalculateTrack(points)
return points
def handleTrackpoint(tp):
......
Supports Markdown
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