fix 'add' button in Job task panel

fix chamfer bit
lgtm cleanup
This commit is contained in:
sliptonic
2020-11-19 17:10:50 -06:00
parent 2e552e88b2
commit 3a8f40a458
12 changed files with 51 additions and 52 deletions

View File

@@ -98,7 +98,6 @@ class ToolController:
if hasattr(obj.Tool, 'InList') and len(obj.Tool.InList) == 1:
if hasattr(obj.Tool.Proxy, 'onDelete'):
obj.Tool.Proxy.onDelete(obj.Tool)
#obj.Document.removeObject(obj.Name)
def setFromTemplate(self, obj, template):
'''
@@ -177,7 +176,6 @@ class ToolController:
commands += "(" + obj.Label + ")"+'\n'
commands += 'M6 T'+str(obj.ToolNumber)+'\n'
# If a toolbit is used, check to see if spindlepower is allowed.
# This is to prevent accidentally spinning the spindle with an
# unpowered tool like probe or dragknife