--- a/src/ldObject.h Wed Apr 23 15:39:42 2014 +0300 +++ b/src/ldObject.h Wed Apr 23 18:25:09 2014 +0300 @@ -263,7 +263,14 @@ void setCoordinate (const Axis ax, double value) { Vertex v = position(); - v[ax] = value; + + switch (ax) + { + case X: v.setX (value); break; + case Y: v.setY (value); break; + case Z: v.setZ (value); break; + } + setPosition (v); }