From: David Gow Date: Wed, 24 Sep 2014 13:05:49 +0000 (+0800) Subject: Merge branch 'master' of git.ucc.asn.au:ipdf/code X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=5f600e9c0d22c09bd60ef3c7245dbecc8d35d576;p=ipdf%2Fcode.git Merge branch 'master' of git.ucc.asn.au:ipdf/code --- 5f600e9c0d22c09bd60ef3c7245dbecc8d35d576 diff --cc src/view.cpp index 2b21225,1f855a2..8063cec --- a/src/view.cpp +++ b/src/view.cpp @@@ -171,9 -199,9 +199,9 @@@ void View::Render(int width, int height m_cached_display.Clear(); #ifndef QUADTREE_DISABLED - if (m_bounds_dirty) + if (m_bounds_dirty || !m_lazy_rendering) { - if ( false && (m_bounds.x > 1.0 || m_bounds.x < 0.0 || m_bounds.y > 1.0 || m_bounds.y < 0.0 || m_bounds.w > 1.0 || m_bounds.h > 1.0)) + if ( (m_bounds.x > 1.0 || m_bounds.x < 0.0 || m_bounds.y > 1.0 || m_bounds.y < 0.0 || m_bounds.w > 1.0 || m_bounds.h > 1.0)) { //TODO: Generate a new parent node. if (m_document.GetQuadTree().nodes[m_current_quadtree_node].parent != QUADTREE_EMPTY)