mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-12 04:11:50 +08:00
Do not convert custom gcode extrusion to travel
This commit is contained in:
parent
558deca789
commit
fbde7de98a
@ -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…
x
Reference in New Issue
Block a user