src/glcompiler.cpp

changeset 1305
31627acdd4b5
parent 1282
c6bc95cbf4a3
child 1306
be85306198a2
--- a/src/glcompiler.cpp	Mon Mar 19 11:04:18 2018 +0200
+++ b/src/glcompiler.cpp	Mon Mar 19 12:24:59 2018 +0200
@@ -375,7 +375,8 @@
 	case LDObjectType::SubfileReference:
 		{
 			LDSubfileReference* subfileReference = static_cast<LDSubfileReference*>(object);
-			auto data = subfileReference->inlinePolygons(m_documents);
+			// TODO: move winding to Model and use it here
+			auto data = subfileReference->inlinePolygons(m_documents, CounterClockwise);
 
 			for (LDPolygon& poly : data)
 				compilePolygon (poly, index, info);

mercurial