GCode preview shows correct volumetric flow for the wipe tower

The neccessary annotations for the GCodeAnalyzer were missing
This commit is contained in:
Lukas Matena 2019-06-10 11:49:15 +02:00
parent ed4b71eb15
commit 6f7051c3b1
2 changed files with 13 additions and 3 deletions
src/libslic3r

View file

@ -2554,7 +2554,7 @@ std::string GCode::_extrude(const ExtrusionPath &path, std::string description,
gcode += buf;
}
if (m_last_mm3_per_mm != path.mm3_per_mm)
if (last_was_wipe_tower || (m_last_mm3_per_mm != path.mm3_per_mm))
{
m_last_mm3_per_mm = path.mm3_per_mm;