src/linetypes/modelobject.cpp

changeset 1397
5d5c11af0268
parent 1391
5fa4bf1fc781
child 1398
1c70d3447d20
--- a/src/linetypes/modelobject.cpp	Sun Jun 10 15:53:21 2018 +0300
+++ b/src/linetypes/modelobject.cpp	Sun Jun 10 16:04:38 2018 +0300
@@ -464,7 +464,7 @@
 	for (LDPolygon& poly : polygons)
 	{
 		LDEdgeLine* line = model.emplace<LDEdgeLine>(poly.vertices[0], poly.vertices[1]);
-		line->setColor (poly.color);
+		line->setColor(LDColor {poly.color});
 	}
 }
 

mercurial