Pre-apply cosmetic changes to mixing

This commit is contained in:
Scott Lahteine
2019-02-02 23:30:26 -06:00
parent 0358ffcd4c
commit a5e3384691
7 changed files with 62 additions and 50 deletions

View File

@ -2161,7 +2161,7 @@ bool Planner::_populate_block(block_t * const block, bool split_move,
// In worst case, only one extruder running, no change is needed.
// In best case, all extruders run the same amount, we can divide by MIXING_STEPPERS
float delta_mm_i = 0;
if (i == E_AXIS && mixer.get_current_v_tool() == MIXER_AUTORETRACT_TOOL)
if (i == E_AXIS && mixer.get_current_vtool() == MIXER_AUTORETRACT_TOOL)
delta_mm_i = delta_mm[i] / MIXING_STEPPERS;
else
delta_mm_i = delta_mm[i];