forked from organicmaps/organicmaps
cleaner test for model emptiness.
This commit is contained in:
parent
26acdab15a
commit
55a1b6b3cb
1 changed files with 1 additions and 4 deletions
|
@ -257,11 +257,8 @@ void TilingRenderPolicyST::DrawFrame(shared_ptr<PaintEvent> const & e, ScreenBas
|
|||
|
||||
m_drawScale = curCvg->GetDrawScale();
|
||||
|
||||
if (!curCvg->IsEmptyDrawingCoverage())
|
||||
if (!curCvg->IsEmptyDrawingCoverage() || !curCvg->IsPartialCoverage())
|
||||
m_isEmptyModel = curCvg->IsEmptyDrawingCoverage();
|
||||
else
|
||||
if (!curCvg->IsPartialCoverage())
|
||||
m_isEmptyModel = curCvg->IsEmptyDrawingCoverage();
|
||||
|
||||
pDrawer->endFrame();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue