diff -r 59e75518fb82 -r 3cd5bd943b94 QTfrontend/drawmapscene.cpp --- a/QTfrontend/drawmapscene.cpp Fri Dec 24 00:24:16 2010 +0100 +++ b/QTfrontend/drawmapscene.cpp Thu Dec 23 19:17:14 2010 -0500 @@ -124,19 +124,19 @@ quint8 flags = *(quint8 *)data.data(); data.remove(0, 1); + if (data.size() < 5) points.append(QPoint(px, py)); //last chunk or first point if((data.size() < 5) || (flags & 0x80)) { if(points.size()) { addPath(pointsToPath(points), m_pen); - paths.prepend(points); + paths.append(points); points.clear(); } } - - points.append(QPoint(px, py)); + if (data.size() > 5) points.append(QPoint(px, py)); } emit pathChanged();