Enabled the Wipe Tower for Repetier-Firmware #1310

This commit is contained in:
bubnikv 2018-12-12 19:09:25 +01:00
parent 70b13d005e
commit b856775e18

View file

@ -1228,8 +1228,8 @@ std::string Print::validate() const
} }
if (this->has_wipe_tower() && ! m_objects.empty()) { if (this->has_wipe_tower() && ! m_objects.empty()) {
if (m_config.gcode_flavor != gcfRepRap && m_config.gcode_flavor != gcfMarlin) if (m_config.gcode_flavor != gcfRepRap && m_config.gcode_flavor != gcfRepetier && m_config.gcode_flavor != gcfMarlin)
return L("The Wipe Tower is currently only supported for the Marlin and RepRap/Sprinter G-code flavors."); return L("The Wipe Tower is currently only supported for the Marlin, RepRap/Sprinter and Repetier G-code flavors.");
if (! m_config.use_relative_e_distances) if (! m_config.use_relative_e_distances)
return L("The Wipe Tower is currently only supported with the relative extruder addressing (use_relative_e_distances=1)."); return L("The Wipe Tower is currently only supported with the relative extruder addressing (use_relative_e_distances=1).");
SlicingParameters slicing_params0 = m_objects.front()->slicing_parameters(); SlicingParameters slicing_params0 = m_objects.front()->slicing_parameters();