diff options
author | supermerill <merill@fr.fr> | 2021-07-05 20:39:28 +0300 |
---|---|---|
committer | supermerill <merill@fr.fr> | 2021-07-05 20:41:40 +0300 |
commit | 34b8d0634ab14bc249c2ef626c8373a4a8262fbd (patch) | |
tree | b77fb21e87bcc582334504fb0ddfce47debdf6c7 /src | |
parent | 8d91d70448092488f6d5d9a46037b0774db912c4 (diff) |
Ignore G1 'R' and 'H' from reprap
supermerill/SuperSlicer#1391
Diffstat (limited to 'src')
-rw-r--r-- | src/libslic3r/GCode/GCodeProcessor.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libslic3r/GCode/GCodeProcessor.cpp b/src/libslic3r/GCode/GCodeProcessor.cpp index e94766bd6..e84380de9 100644 --- a/src/libslic3r/GCode/GCodeProcessor.cpp +++ b/src/libslic3r/GCode/GCodeProcessor.cpp @@ -1841,6 +1841,10 @@ void GCodeProcessor::process_G1(const GCodeReader::GCodeLine& line) ++m_g1_line_id; + //reprap thingy, ignore + if (line.has('R') || line.has('H')) + return; + // enable processing of lines M201/M203/M204/M205 m_time_processor.machine_envelope_processing_enabled = true; |