mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 15:07:31 -06: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 740f115790
.
This commit is contained in:
parent
740f115790
commit
ad5fcb704b
1 changed files with 3 additions and 3 deletions
|
@ -5044,14 +5044,14 @@ void GCodeProcessor::run_post_process()
|
||||||
if (GCodeReader::GCodeLine::cmd_is(gcode_line, "G0") || GCodeReader::GCodeLine::cmd_is(gcode_line, "G1")) {
|
if (GCodeReader::GCodeLine::cmd_is(gcode_line, "G0") || GCodeReader::GCodeLine::cmd_is(gcode_line, "G1")) {
|
||||||
export_lines.append_line(gcode_line);
|
export_lines.append_line(gcode_line);
|
||||||
// add lines M73 where needed
|
// add lines M73 where needed
|
||||||
//process_line_G1(g1_lines_counter++);
|
process_line_G1(g1_lines_counter++);
|
||||||
gcode_line.clear();
|
gcode_line.clear();
|
||||||
}
|
}
|
||||||
else if (GCodeReader::GCodeLine::cmd_is(gcode_line, "G2") || GCodeReader::GCodeLine::cmd_is(gcode_line, "G3")) {
|
else if (GCodeReader::GCodeLine::cmd_is(gcode_line, "G2") || GCodeReader::GCodeLine::cmd_is(gcode_line, "G3")) {
|
||||||
export_lines.append_line(gcode_line);
|
export_lines.append_line(gcode_line);
|
||||||
// add lines M73 where needed
|
// add lines M73 where needed
|
||||||
//process_line_G1(g1_lines_counter + internal_g1_lines_counter);
|
process_line_G1(g1_lines_counter + internal_g1_lines_counter);
|
||||||
//g1_lines_counter += (1 + internal_g1_lines_counter);
|
g1_lines_counter += (1 + internal_g1_lines_counter);
|
||||||
gcode_line.clear();
|
gcode_line.clear();
|
||||||
}
|
}
|
||||||
else if (GCodeReader::GCodeLine::cmd_is(gcode_line, "G28")) {
|
else if (GCodeReader::GCodeLine::cmd_is(gcode_line, "G28")) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue