# HG changeset patch # User Teemu Piippo # Date 1415202491 -7200 # Node ID 3b0b2b1738e9aefd3e937867878c30a8444381ad # Parent cf150959ccc43534d21a7d2943fcc7261fd3b0f0 - fixed a rendering issue.. diff -r cf150959ccc4 -r 3b0b2b1738e9 src/glCompiler.cc --- a/src/glCompiler.cc Wed Nov 05 03:49:29 2014 +0200 +++ b/src/glCompiler.cc Wed Nov 05 17:48:11 2014 +0200 @@ -283,10 +283,14 @@ { it = m_objectInfo.erase (it); } - elif (it.key().toStrongRef()->document() == CurrentDocument() - and not it.key().toStrongRef()->isHidden()) + else { - vbodata += it->data[vbonum]; + if (it.key().toStrongRef()->document() == CurrentDocument() + and not it.key().toStrongRef()->isHidden()) + { + vbodata += it->data[vbonum]; + } + ++it; } } diff -r cf150959ccc4 -r 3b0b2b1738e9 src/ldDocument.cc --- a/src/ldDocument.cc Wed Nov 05 03:49:29 2014 +0200 +++ b/src/ldDocument.cc Wed Nov 05 17:48:11 2014 +0200 @@ -1408,8 +1408,6 @@ // just add it into the objects normally. Yay, recursion! if (deep == true and obj->type() == OBJ_Subfile) { - // If the subfile is BFC-inverted the rest of the files need to follow. - // This cannot be done in LDSubfile::inlineContents. for (LDObjectPtr otherobj : obj.staticCast()->inlineContents (deep, renderinline)) { if (invertnext)