From d5099111bba146cdb89f56e776899f40bdd7e579 Mon Sep 17 00:00:00 2001 From: discip <53649486+discip@users.noreply.github.com> Date: Thu, 3 Nov 2022 00:45:42 +0100 Subject: [PATCH] minor fixes + layer_no instead of height --- 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 5923a53adf..ab50691634 100644 --- a/plugins/PostProcessingPlugin/scripts/PauseAtHeight.py +++ b/plugins/PostProcessingPlugin/scripts/PauseAtHeight.py @@ -26,7 +26,7 @@ class PauseAtHeight(Script): "description": "Whether to pause at a certain height or at a certain layer.", "type": "enum", "options": {"height": "Height", "layer_no": "Layer Number"}, - "default_value": "height" + "default_value": "layer_no" }, "pause_height": { @@ -447,7 +447,7 @@ class PauseAtHeight(Script): # Wait till the user continues printing prepend_gcode += pause_command + " ; Do the actual pause\n" - # Set a custom GCODE section before pause + # Set a custom GCODE section after pause if gcode_after: prepend_gcode += gcode_after + "\n"