Browse Source

Handle dual gantry machines better

Roxy-3D 7 years ago
parent
commit
62fa028155
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp

+ 1
- 1
Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp View File

303
 
303
 
304
     // Check for commands that require the printer to be homed
304
     // Check for commands that require the printer to be homed
305
     if (may_move) {
305
     if (may_move) {
306
-      if (axis_unhomed_error()) gcode.home_all_axes();
307
       #if ENABLED(DUAL_X_CARRIAGE)
306
       #if ENABLED(DUAL_X_CARRIAGE)
308
         if (active_extruder != 0) tool_change(0);
307
         if (active_extruder != 0) tool_change(0);
309
       #endif
308
       #endif
309
+      if (axis_unhomed_error()) gcode.home_all_axes();
310
     }
310
     }
311
 
311
 
312
     // Invalidate Mesh Points. This command is a little bit asymmetrical because
312
     // Invalidate Mesh Points. This command is a little bit asymmetrical because

Loading…
Cancel
Save