author | unc0rr |
Tue, 15 Apr 2014 21:46:08 +0400 | |
changeset 10223 | b6b98dfa3807 |
parent 10222 | 084a1a925da9 |
child 10224 | 8e62b5cb790c |
child 10225 | 0278759252b6 |
--- a/QTfrontend/drawmapscene.cpp Mon Apr 14 13:46:46 2014 +0400 +++ b/QTfrontend/drawmapscene.cpp Tue Apr 15 21:46:08 2014 +0400 @@ -386,7 +386,7 @@ int i = 1; while(i < points.size()) { - if( (i != points.size() - 1) + if( ((i != points.size() - 1) || (prevPoint == points[i])) && (sqr(prevPoint.x() - points[i].x()) + sqr(prevPoint.y() - points[i].y()) < 1000) ) points.removeAt(i);