Update src/Mod/Path/Path/Post/scripts/heidenhain_post.py

Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com>
This commit is contained in:
sliptonic
2023-06-19 08:52:53 -05:00
parent 97f4681c50
commit 8e580e53ef

View File

@@ -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