mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 03:15:51 +08:00
Follow-up of 6a46b71dc1b72834f36e16f1bbf3e13f40e64c1d - Fix build on non-Windows platforms
This commit is contained in:
parent
5f5de1c812
commit
d99895805c
@ -2168,10 +2168,10 @@ void GCodeProcessor::process_G28(const GCodeReader::GCodeLine& line)
|
||||
if (!found)
|
||||
new_line_raw += " X0 Y0 Z0";
|
||||
|
||||
GCodeReader::GCodeLine new_line;
|
||||
GCodeReader::GCodeLine new_gline;
|
||||
GCodeReader reader;
|
||||
reader.parse_line(new_line_raw.c_str(), new_line, [](GCodeReader&, const GCodeReader::GCodeLine&) {});
|
||||
process_G1(new_line);
|
||||
reader.parse_line(new_line_raw, [&](GCodeReader& reader, const GCodeReader::GCodeLine& gline) { new_gline = gline; });
|
||||
process_G1(new_gline);
|
||||
}
|
||||
|
||||
void GCodeProcessor::process_G90(const GCodeReader::GCodeLine& line)
|
||||
|
Loading…
x
Reference in New Issue
Block a user