Skip to content

Commit df212d9

Browse files
committed
bugfix - z was discarded?
1 parent 790bced commit df212d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interpreters/GCodeInterpreter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public LinearMoveData(Vector2d pos,
4545
source = null;
4646
}
4747
public LinearMoveData(Vector3d pos, double rateIn = GCodeUtil.UnspecifiedValue) {
48-
position = new Vector3d(pos.x, pos.y, GCodeUtil.UnspecifiedValue);
48+
position = pos;
4949
rate = rateIn;
5050
extrude = GCodeUtil.UnspecifiedPosition;
5151
source = null;

0 commit comments

Comments
 (0)