Skip to content

Commit b119ca4

Browse files
committed
Fixed bug with incorrect activities grouping
1 parent 8a13d0c commit b119ca4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Arc-app-export-converter/XmlReader.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ public Activity(ActivityType activity, Coordinates[] waypoints) {
145145
}
146146

147147
public void MargeWithNew(Coordinates[] waypoints) {
148-
List<Coordinates> tempMerge = waypoints.ToList();
148+
List<Coordinates> tempMerge = this.waypoints.ToList();
149149
foreach (var item in waypoints) {
150150
tempMerge.Add(item);
151151
}
@@ -221,7 +221,7 @@ public void LoadFile(string path = "file.gpx") {
221221
SetStartEnd();
222222
SetSummary();
223223

224-
//Display();
224+
Display();
225225
}
226226
void GetPlace(string line, StreamReader sr) {
227227
XmlTimeline.Coordinates location = HelpMethods.GetLatLon(line);

0 commit comments

Comments
 (0)