From 883a3039e514b669ac9e66a917e55a5d5d6c53c0 Mon Sep 17 00:00:00 2001 From: Remco Burema Date: Wed, 25 Jan 2023 17:48:36 +0100 Subject: [PATCH] Remove old 'newline' solution. Will be fixed in the next commit(s). In retrospect, using ';' for the newline seperation was a bit daft, given that comments also start with that. done as part of CURA-9822 --- plugins/PostProcessingPlugin/scripts/PauseAtHeight.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/PostProcessingPlugin/scripts/PauseAtHeight.py b/plugins/PostProcessingPlugin/scripts/PauseAtHeight.py index c6c6543244..74a4b78eed 100644 --- a/plugins/PostProcessingPlugin/scripts/PauseAtHeight.py +++ b/plugins/PostProcessingPlugin/scripts/PauseAtHeight.py @@ -477,14 +477,14 @@ class PauseAtHeight(Script): # Set a custom GCODE section before pause if gcode_before: - prepend_gcode += gcode_before.replace(";","\n") + "\n" + prepend_gcode += gcode_before + "\n" # Wait till the user continues printing prepend_gcode += pause_command + " ; Do the actual pause\n" # Set a custom GCODE section after pause if gcode_after: - prepend_gcode += gcode_after.replace(";","\n") + "\n" + prepend_gcode += gcode_after + "\n" if pause_method == "repetier": #Push the filament back,