Partial refactoring of wipe tower code (got rid of global constants, etc)

This commit is contained in:
Lukas Matena 2018-03-21 15:57:17 +01:00
parent e30405d672
commit 9519fae490
4 changed files with 79 additions and 126 deletions

View file

@ -1075,7 +1075,6 @@ void Print::_make_wipe_tower()
// Lets go through the wipe tower layers and determine pairs of extruder changes for each
// to pass to wipe_tower (so that it can use it for planning the layout of the tower)
{
unsigned int current_extruder_id = m_tool_ordering.all_extruders().back();
for (const auto &layer_tools : m_tool_ordering.layer_tools()) { // for all layers