src/tools/drawtool.cpp

changeset 139
72098474d362
parent 126
a7c720aff97c
child 143
7b62c52835a1
--- a/src/tools/drawtool.cpp	Wed Sep 22 13:28:53 2021 +0300
+++ b/src/tools/drawtool.cpp	Wed Sep 22 14:03:43 2021 +0300
@@ -146,13 +146,13 @@
 		switch (this->polygon.size())
 		{
 		case 2:
-			edit.append<ldraw::Edge>(vectorToArray<2>(this->polygon), ldraw::edgeColor);
+			edit.append<ldraw::Edge>(vectorToArray<2>(this->polygon), ldraw::EDGE_COLOR);
 			break;
 		case 3:
-			edit.append<ldraw::Triangle>(vectorToArray<3>(this->polygon), ldraw::mainColor);
+			edit.append<ldraw::Triangle>(vectorToArray<3>(this->polygon), ldraw::MAIN_COLOR);
 			break;
 		case 4:
-			edit.append<ldraw::Quadrilateral>(vectorToArray<4>(this->polygon), ldraw::mainColor);
+			edit.append<ldraw::Quadrilateral>(vectorToArray<4>(this->polygon), ldraw::MAIN_COLOR);
 			break;
 		}
 	}

mercurial