--- 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);