src/ldObject.cc

changeset 806
4240f47aa2d4
parent 805
d88c0354de97
child 835
268413885cb1
--- a/src/ldObject.cc	Mon Jun 16 18:31:13 2014 +0300
+++ b/src/ldObject.cc	Sun Jun 22 03:55:56 2014 +0300
@@ -406,7 +406,7 @@
 	LDPolygon* data = new LDPolygon;
 	data->id = id();
 	data->num = num;
-	data->color = color()->index();
+	data->color = color().index();
 
 	for (int i = 0; i < data->numVertices(); ++i)
 		data->vertices[i] = vertex (i);

mercurial