mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-04 13:40:42 +08:00
Revert "Fix strange M73 behaviour, where M73 is still present, even if disabled" (#8423)
Revert "Fix strange M73 behaviour, where M73 is still present, even if disabl…" This reverts commit 740f1157908a63adb62c249b5fffa792762a8304.
This commit is contained in:
parent
740f115790
commit
ad5fcb704b
@ -5044,14 +5044,14 @@ void GCodeProcessor::run_post_process()
|
||||
if (GCodeReader::GCodeLine::cmd_is(gcode_line, "G0") || GCodeReader::GCodeLine::cmd_is(gcode_line, "G1")) {
|
||||
export_lines.append_line(gcode_line);
|
||||
// add lines M73 where needed
|
||||
//process_line_G1(g1_lines_counter++);
|
||||
process_line_G1(g1_lines_counter++);
|
||||
gcode_line.clear();
|
||||
}
|
||||
else if (GCodeReader::GCodeLine::cmd_is(gcode_line, "G2") || GCodeReader::GCodeLine::cmd_is(gcode_line, "G3")) {
|
||||
export_lines.append_line(gcode_line);
|
||||
// add lines M73 where needed
|
||||
//process_line_G1(g1_lines_counter + internal_g1_lines_counter);
|
||||
//g1_lines_counter += (1 + internal_g1_lines_counter);
|
||||
process_line_G1(g1_lines_counter + internal_g1_lines_counter);
|
||||
g1_lines_counter += (1 + internal_g1_lines_counter);
|
||||
gcode_line.clear();
|
||||
}
|
||||
else if (GCodeReader::GCodeLine::cmd_is(gcode_line, "G28")) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user