From: Sam Moore Date: Sun, 5 Oct 2014 08:12:05 +0000 (+0800) Subject: Add objects without quadtree X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=commitdiff_plain;h=af612c9c0b1fe5e3be37265dfa8691245e3222c7 Add objects without quadtree Even when disabled the quadtree manages to break things --- diff --git a/src/document.cpp b/src/document.cpp index 6e022df..f4f306e 100644 --- a/src/document.cpp +++ b/src/document.cpp @@ -443,6 +443,9 @@ done: // matches is not amused, but sulix is nice and moved it inside the #ifdef m_count++; PropagateQuadChanges(qti); } +#else // Although empty documents do always render correctly at any zoom, + // I suspect the markers will not be amused + m_count++; #endif return m_count; // Why can't we just use the size of types or something? }