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++)