From 39ef7c8e3571e646350c0e6371290fb82f8fa94b Mon Sep 17 00:00:00 2001 From: Thom de Jong Date: Thu, 13 Nov 2025 15:25:22 +0100 Subject: [PATCH] Initialise editor_result --- src/Mod/CAM/Path/Post/UtilsExport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/CAM/Path/Post/UtilsExport.py b/src/Mod/CAM/Path/Post/UtilsExport.py index c00cbd3592..03e082269c 100644 --- a/src/Mod/CAM/Path/Post/UtilsExport.py +++ b/src/Mod/CAM/Path/Post/UtilsExport.py @@ -275,7 +275,7 @@ def export_common(values: Values, objectslist, filename: str) -> str: final: str final_for_editor: str gcode: Gcode = [] - editor_result: int + editor_result: int = 1 for obj in objectslist: if not hasattr(obj, "Path"):