|
@@ -686,6 +686,12 @@ void GcodeSuite::G26() {
|
686
|
686
|
set_current_from_destination();
|
687
|
687
|
}
|
688
|
688
|
|
|
689
|
+ #if DISABLED(NO_VOLUMETRICS)
|
|
690
|
+ bool volumetric_was_enabled = parser.volumetric_enabled;
|
|
691
|
+ parser.volumetric_enabled = false;
|
|
692
|
+ planner.calculate_volumetric_multipliers();
|
|
693
|
+ #endif
|
|
694
|
+
|
689
|
695
|
if (turn_on_heaters() != G26_OK) goto LEAVE;
|
690
|
696
|
|
691
|
697
|
current_position[E_AXIS] = 0.0;
|
|
@@ -909,6 +915,11 @@ void GcodeSuite::G26() {
|
909
|
915
|
move_to(destination, 0); // Move back to the starting position
|
910
|
916
|
//debug_current_and_destination(PSTR("done doing X/Y move."));
|
911
|
917
|
|
|
918
|
+ #if DISABLED(NO_VOLUMETRICS)
|
|
919
|
+ parser.volumetric_enabled = volumetric_was_enabled;
|
|
920
|
+ planner.calculate_volumetric_multipliers();
|
|
921
|
+ #endif
|
|
922
|
+
|
912
|
923
|
#if HAS_LCD_MENU
|
913
|
924
|
ui.release(); // Give back control of the LCD
|
914
|
925
|
#endif
|