src/linetypes/subfilereference.cpp

changeset 139
72098474d362
parent 134
f77d2230e87c
child 140
2f383e88acf4
--- 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;
 			}

mercurial