src/toolsets/basictoolset.cpp

changeset 1263
0256edecda54
parent 1262
f6b253c17643
child 1269
ec691d9472b3
--- a/src/toolsets/basictoolset.cpp	Sat Mar 03 17:28:27 2018 +0200
+++ b/src/toolsets/basictoolset.cpp	Sat Mar 03 17:47:40 2018 +0200
@@ -237,7 +237,7 @@
 			int axisSet = (1 << X) | (1 << Y) | (1 << Z);
 			Model model {currentDocument()->documentManager()};
 			LDSubfileReference* reference = static_cast<LDSubfileReference*>(obj);
-			reference->fileInfo()->inlineContents(model, true, false);
+			reference->fileInfo(m_documents)->inlineContents(model, true, false);
 
 			for (LDObject* subobj : model.objects())
 			{

mercurial