src/glcompiler.cpp

changeset 1263
0256edecda54
parent 1251
e75cc5bff076
child 1276
cae7b4f660c5
equal deleted inserted replaced
1262:f6b253c17643 1263:0256edecda54
374 374
375 // TODO: try use interfaces to remove these special treatments? 375 // TODO: try use interfaces to remove these special treatments?
376 case LDObjectType::SubfileReference: 376 case LDObjectType::SubfileReference:
377 { 377 {
378 LDSubfileReference* subfileReference = static_cast<LDSubfileReference*>(object); 378 LDSubfileReference* subfileReference = static_cast<LDSubfileReference*>(object);
379 auto data = subfileReference->inlinePolygons(); 379 auto data = subfileReference->inlinePolygons(m_documents);
380 380
381 for (LDPolygon& poly : data) 381 for (LDPolygon& poly : data)
382 { 382 {
383 poly.id = object->id(); 383 poly.id = object->id();
384 compilePolygon (poly, index, info); 384 compilePolygon (poly, index, info);

mercurial