src/toolsets/basictoolset.cpp

changeset 1263
0256edecda54
parent 1262
f6b253c17643
child 1269
ec691d9472b3
equal deleted inserted replaced
1262:f6b253c17643 1263:0256edecda54
235 { 235 {
236 // Check whether subfile is flat 236 // Check whether subfile is flat
237 int axisSet = (1 << X) | (1 << Y) | (1 << Z); 237 int axisSet = (1 << X) | (1 << Y) | (1 << Z);
238 Model model {currentDocument()->documentManager()}; 238 Model model {currentDocument()->documentManager()};
239 LDSubfileReference* reference = static_cast<LDSubfileReference*>(obj); 239 LDSubfileReference* reference = static_cast<LDSubfileReference*>(obj);
240 reference->fileInfo()->inlineContents(model, true, false); 240 reference->fileInfo(m_documents)->inlineContents(model, true, false);
241 241
242 for (LDObject* subobj : model.objects()) 242 for (LDObject* subobj : model.objects())
243 { 243 {
244 for (int i = 0; i < subobj->numVertices(); ++i) 244 for (int i = 0; i < subobj->numVertices(); ++i)
245 { 245 {

mercurial