Browse Source

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
Remco Burema 2 years ago
parent
commit
883a3039e5
1 changed files with 2 additions and 2 deletions
  1. 2 2
      plugins/PostProcessingPlugin/scripts/PauseAtHeight.py

+ 2 - 2
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,