[generator] Do not simplify roads only for the last geometry scale.

This commit is contained in:
Denis Koronchik 2014-09-17 11:38:57 +03:00 committed by Alex Zolotarev
parent acbbd3c8b7
commit ae784287da
2 changed files with 1 additions and 2 deletions

View file

@ -168,7 +168,6 @@ public:
bool CheckValid() const;
//@}
protected:
bool IsHighway() const;
protected:

View file

@ -450,7 +450,7 @@ namespace feature
points_t points;
// Do not change linear geometry for the upper scale.
if (isLine && i == scalesStart)
if (isLine && i == scalesStart && fb.IsHighway())
points = holder.GetSourcePoints();
else
SimplifyPoints(holder.GetSourcePoints(), points, level, isCoast, rect);