src/ExternalPrograms.cc

changeset 642
751a8df42842
parent 640
d4dda62c6600
child 644
93dcd1a0e4bd
equal deleted inserted replaced
641:425b169a82aa 642:751a8df42842
217 // 217 //
218 void writeColorGroup (const int colnum, QString fname) 218 void writeColorGroup (const int colnum, QString fname)
219 { 219 {
220 LDObjectList objects; 220 LDObjectList objects;
221 221
222 for (LDObject* obj : getCurrentDocument()->getObjects()) 222 for (LDObject* obj : getCurrentDocument()->objects())
223 { 223 {
224 if (obj->isColored() == false || obj->getColor() != colnum) 224 if (obj->isColored() == false || obj->color() != colnum)
225 continue; 225 continue;
226 226
227 objects << obj; 227 objects << obj;
228 } 228 }
229 229

mercurial