src/LDObject.cc

changeset 694
3868f52da6b9
parent 693
8432b37034a9
child 697
2766f7b037ad
equal deleted inserted replaced
693:8432b37034a9 694:3868f52da6b9
364 // ============================================================================= 364 // =============================================================================
365 // 365 //
366 QList<LDPolygon> LDSubfile::inlinePolygons() 366 QList<LDPolygon> LDSubfile::inlinePolygons()
367 { 367 {
368 QList<LDPolygon> data = fileInfo()->inlinePolygons(); 368 QList<LDPolygon> data = fileInfo()->inlinePolygons();
369 print ("LDSubfile::inlinePolygons: %1 has %2 polygons\n", fileInfo()->getDisplayName(), data.size());
370 369
371 for (LDPolygon& entry : data) 370 for (LDPolygon& entry : data)
372 for (int i = 0; i < entry.numVertices(); ++i) 371 for (int i = 0; i < entry.numVertices(); ++i)
373 entry.vertices[i].transform (transform(), position()); 372 entry.vertices[i].transform (transform(), position());
374 373

mercurial