src/ldObject.cc

changeset 733
cc39df788660
parent 725
37b71daf4cb5
child 739
152b33a6d51b
--- a/src/ldObject.cc	Wed Apr 23 15:39:42 2014 +0300
+++ b/src/ldObject.cc	Wed Apr 23 18:25:09 2014 +0300
@@ -73,7 +73,7 @@
 void LDObject::setVertexCoord (int i, Axis ax, double value)
 {
 	Vertex v = vertex (i);
-	v[ax] = value;
+	v.setCoordinate (ax, value);
 	setVertex (i, v);
 }
 

mercurial