Do not convert custom gcode extrusion to travel
This commit is contained in:
parent
558deca789
commit
fbde7de98a
1 changed files with 1 additions and 1 deletions
|
@ -2187,7 +2187,7 @@ void GCodeProcessor::process_G1(const GCodeReader::GCodeLine& line)
|
||||||
#endif // ENABLE_GCODE_VIEWER_DATA_CHECKING
|
#endif // ENABLE_GCODE_VIEWER_DATA_CHECKING
|
||||||
}
|
}
|
||||||
|
|
||||||
if (type == EMoveType::Extrude && (m_extrusion_role == erCustom || m_width == 0.0f || m_height == 0.0f))
|
if (type == EMoveType::Extrude && (m_width == 0.0f || m_height == 0.0f))
|
||||||
type = EMoveType::Travel;
|
type = EMoveType::Travel;
|
||||||
|
|
||||||
// time estimate section
|
// time estimate section
|
||||||
|
|
Loading…
Reference in a new issue