src/glCompiler.cc

changeset 772
e117509e1b51
parent 770
b04c1e6ca1fb
child 784
f82ab4d3c7b4
equal deleted inserted replaced
771:0f04e34bec54 772:e117509e1b51
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);

mercurial