leaf tiles always should be the "first class" tiles to render.

This commit is contained in:
rachytski 2012-02-16 15:24:56 +04:00 committed by Alex Zolotarev
parent 5c62a25a0f
commit ec3743fe36

View file

@ -318,7 +318,7 @@ void ScreenCoverage::SetScreen(ScreenBase const & screen)
if (drawnTiles.count(cr[i]) || !m_screen.GlobalRect().IsIntersect(m2::AnyRectD(cr[i].m_rect)))
--childTilesToDraw;
if (childTilesToDraw > 1)
if (m_tiler.isLeaf(nr) || (childTilesToDraw > 1))
firstClassTiles.push_back(nr);
else
secondClassTiles.push_back(nr);