src/toolsets/algorithmtoolset.cpp

changeset 1002
a3ee23db8393
parent 998
5be0ce31ce60
child 1005
a88cf5a32246
equal deleted inserted replaced
1001:024cbc902e75 1002:a3ee23db8393
281 { 281 {
282 it->toEdgeLine(); 282 it->toEdgeLine();
283 ++num; 283 ++num;
284 } 284 }
285 285
286 print (tr ("Converted %1 conditional lines"), num); 286 for (LDObjectIterator<LDBezierCurve> it (selectedObjects()); it.isValid(); ++it)
287 {
288 it->replace (it->rasterize (10));
289 ++num;
290 }
291
292 print (tr ("Converted %1 conditional lines and Bézier curves"), num);
287 } 293 }
288 294
289 bool AlgorithmToolset::isColorUsed (LDColor color) 295 bool AlgorithmToolset::isColorUsed (LDColor color)
290 { 296 {
291 for (LDObject* obj : currentDocument()->objects()) 297 for (LDObject* obj : currentDocument()->objects())

mercurial