Handle dual gantry machines better
This commit is contained in:
parent
09485f63e9
commit
62fa028155
|
@ -303,10 +303,10 @@
|
||||||
|
|
||||||
// Check for commands that require the printer to be homed
|
// Check for commands that require the printer to be homed
|
||||||
if (may_move) {
|
if (may_move) {
|
||||||
if (axis_unhomed_error()) gcode.home_all_axes();
|
|
||||||
#if ENABLED(DUAL_X_CARRIAGE)
|
#if ENABLED(DUAL_X_CARRIAGE)
|
||||||
if (active_extruder != 0) tool_change(0);
|
if (active_extruder != 0) tool_change(0);
|
||||||
#endif
|
#endif
|
||||||
|
if (axis_unhomed_error()) gcode.home_all_axes();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Invalidate Mesh Points. This command is a little bit asymmetrical because
|
// Invalidate Mesh Points. This command is a little bit asymmetrical because
|
||||||
|
|
Loading…
Reference in a new issue