src/toolsets/extprogramtoolset.cpp

changeset 1416
ba63c7286767
parent 1397
5d5c11af0268
child 1419
f7c53002a990
equal deleted inserted replaced
1415:006ced515057 1416:ba63c7286767
156 { 156 {
157 Model model {m_documents}; 157 Model model {m_documents};
158 obj->rasterize(m_documents, CounterClockwise, model, true, false); 158 obj->rasterize(m_documents, CounterClockwise, model, true, false);
159 writeObjects(model.objects(), f); 159 writeObjects(model.objects(), f);
160 } 160 }
161 else if (obj->type() == LDObjectType::BezierCurve)
162 {
163 LDBezierCurve* curve = static_cast<LDBezierCurve*> (obj);
164 Model model {m_documents};
165 curve->rasterize(model, grid()->bezierCurveSegments());
166 writeObjects(model.objects(), f);
167 }
168 else 161 else
169 f.write ((obj->asText() + "\r\n").toUtf8()); 162 f.write ((obj->asText() + "\r\n").toUtf8());
170 } 163 }
171 } 164 }
172 165

mercurial