|
@ -582,8 +582,16 @@ void plan_buffer_line(const float &x, const float &y, const float &z, const floa |
|
|
block->active_extruder = extruder; |
|
|
block->active_extruder = extruder; |
|
|
|
|
|
|
|
|
//enable active axes
|
|
|
//enable active axes
|
|
|
|
|
|
#ifdef COREXY |
|
|
|
|
|
if((block->steps_x != 0) || (block->steps_y != 0)) |
|
|
|
|
|
{ |
|
|
|
|
|
enable_x(); |
|
|
|
|
|
enable_y(); |
|
|
|
|
|
} |
|
|
|
|
|
#else |
|
|
if(block->steps_x != 0) enable_x(); |
|
|
if(block->steps_x != 0) enable_x(); |
|
|
if(block->steps_y != 0) enable_y(); |
|
|
if(block->steps_y != 0) enable_y(); |
|
|
|
|
|
#endif |
|
|
#ifndef Z_LATE_ENABLE |
|
|
#ifndef Z_LATE_ENABLE |
|
|
if(block->steps_z != 0) enable_z(); |
|
|
if(block->steps_z != 0) enable_z(); |
|
|
#endif |
|
|
#endif |
|
|