Bugfix: use_relative_e_distances and spiral vase were broken again after the port. #3784

This commit is contained in:
Alessandro Ranellucci 2017-03-21 14:40:32 +01:00
parent 61c8359995
commit ecc171eca6

View File

@ -56,6 +56,9 @@ GCodeReader::parse(const std::string &gcode, callback_t callback)
}
}
if (gline.has('E') && this->_config.use_relative_e_distances)
this->E = 0;
if (callback) callback(*this, gline);
// update coordinates