Skip to content

Commit

Permalink
Allow extrusion without movement.
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrocholl committed Aug 7, 2012
1 parent 3165812 commit 7aef09e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Marlin/Marlin.pde
Expand Up @@ -1384,6 +1384,9 @@ void prepare_move() {
float cartesian_mm = sqrt(sq(difference[X_AXIS]) +
sq(difference[Y_AXIS]) +
sq(difference[Z_AXIS]));
if ( cartesian_mm < 0.000001 ) {
cartesian_mm = abs(difference[E_AXIS]);
}
if ( cartesian_mm < 0.000001 ) {
return;
}
Expand Down

0 comments on commit 7aef09e

Please sign in to comment.