From 8e580e53ef702c58ba7c11540788037f7fc1f7b9 Mon Sep 17 00:00:00 2001 From: sliptonic Date: Mon, 19 Jun 2023 08:52:53 -0500 Subject: [PATCH] Update src/Mod/Path/Path/Post/scripts/heidenhain_post.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Benjamin Bræstrup Sayoc --- src/Mod/Path/Path/Post/scripts/heidenhain_post.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Mod/Path/Path/Post/scripts/heidenhain_post.py b/src/Mod/Path/Path/Post/scripts/heidenhain_post.py index 5fd582164e..b43f4ba3a5 100644 --- a/src/Mod/Path/Path/Post/scripts/heidenhain_post.py +++ b/src/Mod/Path/Path/Post/scripts/heidenhain_post.py @@ -367,7 +367,8 @@ def export(objectslist, filename, argstring): # If used compensated path, store, recompute and diff when asked if hasattr(obj, "UseComp") and SOLVE_COMPENSATION_ACTIVE: - if obj.UseComp: + if not obj.UseComp: + continue if hasattr(obj.Path, "Commands") and Object_Kind == "PROFILE": # Take a copy of compensated path STORED_COMPENSATED_OBJ = commands