gldraw.cpp

changeset 111
125e8031dbf1
parent 110
a62ab18d1b80
child 119
b93a64f5ee67
equal deleted inserted replaced
110:a62ab18d1b80 111:125e8031dbf1
345 break; 345 break;
346 346
347 case OBJ_Subfile: 347 case OBJ_Subfile:
348 { 348 {
349 LDSubfile* ref = static_cast<LDSubfile*> (obj); 349 LDSubfile* ref = static_cast<LDSubfile*> (obj);
350
351 vector<LDObject*> objs = ref->inlineContents (true, true); 350 vector<LDObject*> objs = ref->inlineContents (true, true);
351
352 for (LDObject* obj : objs) {
353 compileOneObject (obj);
354 delete obj;
355 }
356 }
357 break;
358
359 case OBJ_Radial:
360 {
361 LDRadial* pRadial = static_cast<LDRadial*> (obj);
362 std::vector<LDObject*> objs = pRadial->decompose (true);
352 363
353 for (LDObject* obj : objs) { 364 for (LDObject* obj : objs) {
354 compileOneObject (obj); 365 compileOneObject (obj);
355 delete obj; 366 delete obj;
356 } 367 }

mercurial