1072:9ce9496427f2 | 1073:a0a0d581309b |
---|---|
256 { | 256 { |
257 it = m_objectInfo.erase (it); | 257 it = m_objectInfo.erase (it); |
258 continue; | 258 continue; |
259 } | 259 } |
260 | 260 |
261 if (it.key()->document() == currentDocument() and not it.key()->isHidden()) | 261 if (it.key()->model() == currentDocument() and not it.key()->isHidden()) |
262 vbodata += it->data[vbonum]; | 262 vbodata += it->data[vbonum]; |
263 | 263 |
264 ++it; | 264 ++it; |
265 } | 265 } |
266 | 266 |
283 } | 283 } |
284 | 284 |
285 | 285 |
286 void GLCompiler::compileObject (LDObject* obj) | 286 void GLCompiler::compileObject (LDObject* obj) |
287 { | 287 { |
288 if (obj == nullptr or obj->document() == nullptr or obj->document()->isCache()) | 288 if (obj == nullptr) |
289 return; | 289 return; |
290 | 290 |
291 ObjectVBOInfo info; | 291 ObjectVBOInfo info; |
292 info.isChanged = true; | 292 info.isChanged = true; |
293 dropObjectInfo (obj); | 293 dropObjectInfo (obj); |