]> gitweb.fperrin.net Git - GpsPrune.git/blobdiff - tim/prune/function/compress/DuplicatePointAlgorithm.java
Version 8, September 2009
[GpsPrune.git] / tim / prune / function / compress / DuplicatePointAlgorithm.java
index 3fd2233fc3edee0dce42abe151736c57fb3e0f42..c5ea99174894de82c675b8b27ca4d9dd0f172f5c 100644 (file)
@@ -41,8 +41,8 @@ public class DuplicatePointAlgorithm extends CompressionAlgorithm
                        if (!inFlags[i])
                        {
                                DataPoint currPoint = _track.getPoint(i);
-                               // Don't delete any waypoints or photo points
-                               if (!currPoint.isWaypoint() && currPoint.getPhoto() == null)
+                               // Don't delete any photo points
+                               if (currPoint.getPhoto() == null)
                                {
                                        // loop over last few points before this one
                                        for (int j=i-NUM_POINTS_TO_BACKTRACK; j<i; j++)