closes #176 : "empty model" message is left after dragging into the actual data.

This commit is contained in:
rachytski 2011-04-02 21:19:53 +03:00 committed by Alex Zolotarev
parent dfc991a118
commit dcab3decb7

View file

@ -412,7 +412,8 @@ void RenderQueueRoutine::Do()
}
}
if (fullRectRepaint)
/// if something were actually drawn, or (exclusive or) we are repainting the whole rect
if ((!m_renderState->m_isEmptyModelCurrent) || (fullRectRepaint))
m_renderState->m_isEmptyModelActual = m_renderState->m_isEmptyModelCurrent;
/// setting the "whole texture" clip rect to render texts opened by panning.