diff -r 72098474d362 -r 2f383e88acf4 src/linetypes/subfilereference.cpp --- a/src/linetypes/subfilereference.cpp Wed Sep 22 14:03:43 2021 +0300 +++ b/src/linetypes/subfilereference.cpp Mon Sep 27 21:04:45 2021 +0300 @@ -36,7 +36,13 @@ QString ldraw::SubfileReference::textRepresentation() const { - return referenceName + " " + utility::vertexToStringParens(this->position()); + QString out; + if (this->isInverted) + { + out += "0 BFC INVERTNEXT\r\n"; + } + out += referenceName + " " + utility::vertexToStringParens(this->position()); + return out; } void ldraw::SubfileReference::getPolygons