From 24b1930b14df017741a8bf1e6f3aa13bc3f1957b Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Mon, 3 Jun 2019 11:16:47 +0200 Subject: [PATCH] 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. --- plugins/PostProcessingPlugin/scripts/Stretch.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/PostProcessingPlugin/scripts/Stretch.py b/plugins/PostProcessingPlugin/scripts/Stretch.py index 9757296041..13b41eaacd 100644 --- a/plugins/PostProcessingPlugin/scripts/Stretch.py +++ b/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)