Browse Source

Don't erase G92 commands

They should only be read in order to detect travel moves properly. They don't need to be modified in any way.

Fixes #4878.
Ghostkeeper 5 years ago
parent
commit
24b1930b14
1 changed files with 1 additions and 0 deletions
  1. 1 0
      plugins/PostProcessingPlugin/scripts/Stretch.py

+ 1 - 0
plugins/PostProcessingPlugin/scripts/Stretch.py

@@ -145,6 +145,7 @@ class Stretcher():
                     current.readStep(line)
                     onestep = GCodeStep(-1, in_relative_movement)
                     onestep.copyPosFrom(current)
+                    onestep.comment = line
                 else:
                     onestep = GCodeStep(-1, in_relative_movement)
                     onestep.copyPosFrom(current)