diff --git a/src/Mod/Path/PathScripts/PathPost.py b/src/Mod/Path/PathScripts/PathPost.py index 8f433f7c65..12cb98d353 100644 --- a/src/Mod/Path/PathScripts/PathPost.py +++ b/src/Mod/Path/PathScripts/PathPost.py @@ -252,6 +252,7 @@ class CommandPathPost: if tc is not None: if tc.ToolNumber != currTool: postlist.append(tc) + currTool = tc.ToolNumber postlist.append(obj) fail = True