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