src/toolsets/basictoolset.cpp

changeset 1305
31627acdd4b5
parent 1301
4a4e9fb9da76
child 1306
be85306198a2
equal deleted inserted replaced
1304:bb3f43293cf8 1305:31627acdd4b5
112 int row = referenceIndex.row(); 112 int row = referenceIndex.row();
113 113
114 if (referenceIndex.isValid()) 114 if (referenceIndex.isValid())
115 { 115 {
116 Model inlined {m_documents}; 116 Model inlined {m_documents};
117 reference->inlineContents(m_documents, inlined, deep, false); 117 reference->inlineContents(
118 m_documents,
119 currentDocument()->header.winding,
120 inlined,
121 deep,
122 false
123 );
118 124
119 // Merge in the inlined objects 125 // Merge in the inlined objects
120 for (LDObject* inlinedObject : inlined.objects()) 126 for (LDObject* inlinedObject : inlined.objects())
121 { 127 {
122 currentDocument()->insertCopy(row, inlinedObject); 128 currentDocument()->insertCopy(row, inlinedObject);

mercurial