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