src/toolsets/extprogramtoolset.cpp

changeset 1305
31627acdd4b5
parent 1288
d1e45f90654b
child 1319
39d7a9642eea
equal deleted inserted replaced
1304:bb3f43293cf8 1305:31627acdd4b5
155 { 155 {
156 if (obj->type() == LDObjectType::SubfileReference) 156 if (obj->type() == LDObjectType::SubfileReference)
157 { 157 {
158 LDSubfileReference* ref = static_cast<LDSubfileReference*> (obj); 158 LDSubfileReference* ref = static_cast<LDSubfileReference*> (obj);
159 Model model {m_documents}; 159 Model model {m_documents};
160 ref->inlineContents(m_documents, model, true, false); 160 ref->inlineContents(m_documents, CounterClockwise, model, true, false);
161 writeObjects(model.objects(), f); 161 writeObjects(model.objects(), f);
162 } 162 }
163 else if (obj->type() == LDObjectType::BezierCurve) 163 else if (obj->type() == LDObjectType::BezierCurve)
164 { 164 {
165 LDBezierCurve* curve = static_cast<LDBezierCurve*> (obj); 165 LDBezierCurve* curve = static_cast<LDBezierCurve*> (obj);

mercurial