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.
This commit is contained in:
parent
2ce27fd5f7
commit
c441548c37
2
dda.c
2
dda.c
|
|
@ -278,7 +278,7 @@ void dda_create(DDA *dda, const TARGET *target) {
|
||||||
else
|
else
|
||||||
distance = approx_distance_3(delta_um[X], delta_um[Y], delta_um[Z]);
|
distance = approx_distance_3(delta_um[X], delta_um[Y], delta_um[Z]);
|
||||||
|
|
||||||
if (distance < 2)
|
if (distance < 1)
|
||||||
distance = delta_um[E];
|
distance = delta_um[E];
|
||||||
|
|
||||||
if (DEBUG_DDA && (debug_flags & DEBUG_DDA))
|
if (DEBUG_DDA && (debug_flags & DEBUG_DDA))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue