diff -r 147497785496 -r af81220741d9 src/glCompiler.cc --- a/src/glCompiler.cc Mon Dec 01 05:10:22 2014 +0200 +++ b/src/glCompiler.cc Sat Aug 22 13:51:20 2015 +0300 @@ -235,14 +235,14 @@ obj->document()->getDisplayName(), obj->lineNumber(), obj->typeName()); */ - m_staged << LDObjectWeakPtr (obj); + m_staged << obj; } // ============================================================================= // void GLCompiler::unstage (LDObjectPtr obj) { - m_staged.removeOne (LDObjectWeakPtr (obj)); + m_staged.removeOne (obj); } // ============================================================================= @@ -293,8 +293,8 @@ continue; } - if (it.key().toStrongRef()->document() == CurrentDocument() - and not it.key().toStrongRef()->isHidden()) + if (it.key()->document() == CurrentDocument() + and not it.key()->isHidden()) { vbodata += it->data[vbonum]; } @@ -331,7 +331,7 @@ { // print ("Compile %1\n", g_objectOrigins[obj]); - if (obj == null or obj->document() == null or obj->document().toStrongRef()->isImplicit()) + if (obj == null or obj->document() == null or obj->document()->isImplicit()) return; ObjectVBOInfo info;