diff -r 5d6a4ad46cc7 -r 72098474d362 src/linetypes/subfilereference.cpp --- 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; }