src/glcompiler.cpp

changeset 1263
0256edecda54
parent 1251
e75cc5bff076
child 1276
cae7b4f660c5
--- a/src/glcompiler.cpp	Sat Mar 03 17:28:27 2018 +0200
+++ b/src/glcompiler.cpp	Sat Mar 03 17:47:40 2018 +0200
@@ -376,7 +376,7 @@
 	case LDObjectType::SubfileReference:
 		{
 			LDSubfileReference* subfileReference = static_cast<LDSubfileReference*>(object);
-			auto data = subfileReference->inlinePolygons();
+			auto data = subfileReference->inlinePolygons(m_documents);
 
 			for (LDPolygon& poly : data)
 			{

mercurial