From c441548c37f72cba93a34d641befedf1ec15430a Mon Sep 17 00:00:00 2001 From: Nico Tonnhofer Date: Mon, 2 Jan 2017 20:34:42 +0100 Subject: [PATCH] dda.c: when we have no move on the cartesian axes, we have a move on E. But we can also have very short moves with only 1 step, without E. So include this moves also. --- dda.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dda.c b/dda.c index 7d58724..3818e7d 100644 --- a/dda.c +++ b/dda.c @@ -278,7 +278,7 @@ void dda_create(DDA *dda, const TARGET *target) { else distance = approx_distance_3(delta_um[X], delta_um[Y], delta_um[Z]); - if (distance < 2) + if (distance < 1) distance = delta_um[E]; if (DEBUG_DDA && (debug_flags & DEBUG_DDA))