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()) |