Follow-up of 6be84d529d
- Fixed processing of spiral vase mode in GCodeProcessor::process_G1
This commit is contained in:
parent
c774603179
commit
abbc99924e
@ -2913,7 +2913,7 @@ void GCodeProcessor::process_G1(const GCodeReader::GCodeLine& line)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (m_spiral_vase_active && !m_result.spiral_vase_layers.empty()) {
|
if (m_spiral_vase_active && !m_result.spiral_vase_layers.empty()) {
|
||||||
if (m_result.spiral_vase_layers.back().first == FLT_MAX && delta_pos[Z] > 0.0)
|
if (m_result.spiral_vase_layers.back().first == FLT_MAX && delta_pos[Z] >= 0.0)
|
||||||
// replace layer height placeholder with correct value
|
// replace layer height placeholder with correct value
|
||||||
m_result.spiral_vase_layers.back().first = static_cast<float>(m_end_position[Z]);
|
m_result.spiral_vase_layers.back().first = static_cast<float>(m_end_position[Z]);
|
||||||
if (!m_result.moves.empty())
|
if (!m_result.moves.empty())
|
||||||
|
Loading…
Reference in New Issue
Block a user