src/document.cpp

changeset 205
1a4342d80de7
parent 204
52e10e8d88cc
child 214
8e1fe64ce4e3
--- a/src/document.cpp	Wed Jun 08 19:33:00 2022 +0300
+++ b/src/document.cpp	Wed Jun 08 20:41:21 2022 +0300
@@ -26,7 +26,7 @@
 EditorTabWidget::EditorTabWidget(
 	Model* model,
 	DocumentManager* documents,
-	const ldraw::ColorTable& colorTable,
+	const ColorTable& colorTable,
 	QWidget* parent) :
 	QWidget{parent},
 	colorTable{colorTable},
@@ -188,7 +188,7 @@
 						.p1 = this->drawState.polygon[0],
 						.p2 = this->drawState.polygon[1],
 					},
-					ldraw::EDGE_COLOR,
+					EDGE_COLOR,
 				}
 			});
 			break;
@@ -200,7 +200,7 @@
 						.p2 = this->drawState.polygon[1],
 						.p3 = this->drawState.polygon[2],
 					},
-					ldraw::MAIN_COLOR,
+					MAIN_COLOR,
 				}
 			});
 			break;
@@ -213,7 +213,7 @@
 						.p3 = this->drawState.polygon[2],
 						.p4 = this->drawState.polygon[3],
 					},
-					ldraw::MAIN_COLOR,
+					MAIN_COLOR,
 				}
 			});
 			break;

mercurial