309 // |
309 // |
310 void GLCompiler::compileObject (LDObjectPtr obj) |
310 void GLCompiler::compileObject (LDObjectPtr obj) |
311 { |
311 { |
312 // print ("Compile %1\n", g_objectOrigins[obj]); |
312 // print ("Compile %1\n", g_objectOrigins[obj]); |
313 |
313 |
314 if (obj == null || obj->document()->isImplicit()) |
314 if (obj == null || obj->document() == null || obj->document()->isImplicit()) |
315 return; |
315 return; |
316 |
316 |
317 ObjectVBOInfo info; |
317 ObjectVBOInfo info; |
318 info.isChanged = true; |
318 info.isChanged = true; |
319 dropObject (obj); |
319 dropObject (obj); |