Improved handling of comments
This commit is contained in:
sliptonic
2016-07-03 10:27:12 -05:00
committed by Yorik van Havre
parent 14f1f6fed8
commit 7ab026ea5e
8 changed files with 104 additions and 106 deletions

View File

@@ -377,6 +377,8 @@ class ObjectPocket:
obj.ToolNumber = toolLoad.ToolNumber
obj.ToolDescription = toolLoad.Name
output += "(" + obj.Label + ")"
if obj.UserLabel == "":
obj.Label = obj.Name + " :" + obj.ToolDescription
else: