src/toolsets/extprogramtoolset.cpp

changeset 1262
f6b253c17643
parent 1256
3fea6bc1519b
child 1269
ec691d9472b3
equal deleted inserted replaced
1261:5d2c9d36da9d 1262:f6b253c17643
154 { 154 {
155 if (obj->type() == LDObjectType::SubfileReference) 155 if (obj->type() == LDObjectType::SubfileReference)
156 { 156 {
157 LDSubfileReference* ref = static_cast<LDSubfileReference*> (obj); 157 LDSubfileReference* ref = static_cast<LDSubfileReference*> (obj);
158 Model model {m_documents}; 158 Model model {m_documents};
159 ref->inlineContents(model, true, false); 159 ref->inlineContents(m_documents, model, true, false);
160 writeObjects(model.objects(), f); 160 writeObjects(model.objects(), f);
161 } 161 }
162 else if (obj->type() == LDObjectType::BezierCurve) 162 else if (obj->type() == LDObjectType::BezierCurve)
163 { 163 {
164 LDBezierCurve* curve = static_cast<LDBezierCurve*> (obj); 164 LDBezierCurve* curve = static_cast<LDBezierCurve*> (obj);

mercurial