forked from organicmaps/organicmaps-tmp
[drape] skip the track rendering iteration it nothing changes
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
This commit is contained in:
parent
a42b6bfac5
commit
e5710e6923
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ void GpsTrackRenderer::UpdatePoints(std::vector<GpsTrackPoint> const & toAdd,
|
|||
m_pointsSpline.AddPoint(m_points[i].m_point);
|
||||
}
|
||||
|
||||
m_needUpdate = true;
|
||||
m_needUpdate = wasChanged;
|
||||
}
|
||||
|
||||
size_t GpsTrackRenderer::GetAvailablePointsCount() const
|
||||
|
|
Loading…
Add table
Reference in a new issue