--- a/src/linetypes/subfilereference.cpp Wed Sep 22 13:28:53 2021 +0300 +++ b/src/linetypes/subfilereference.cpp Wed Sep 22 14:03:43 2021 +0300 @@ -63,7 +63,7 @@ { gl::invert(polygon); } - if (polygon.color == ldraw::mainColor) + if (polygon.color == ldraw::MAIN_COLOR) { polygon.color = this->colorIndex; }