--- 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}); } }