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 } |