Fix of preceding commit.

This commit is contained in:
bubnikv 2017-10-17 19:41:04 +02:00
parent b9d57483d8
commit af51220f34
2 changed files with 7 additions and 8 deletions

View file

@ -847,9 +847,7 @@ void Print::_make_skirt()
extruders_e_per_mm.reserve(set_extruders.size());
for (auto &extruder_id : set_extruders) {
extruders.push_back(extruder_id);
GCodeConfig config;
config.apply(this->config, true);
extruders_e_per_mm.push_back(Extruder((unsigned int)extruder_id, &config).e_per_mm(mm3_per_mm));
extruders_e_per_mm.push_back(Extruder((unsigned int)extruder_id, &this->config).e_per_mm(mm3_per_mm));
}
}