Ignore old-style tool controllers

This commit is contained in:
sliptonic
2020-08-26 15:22:43 -05:00
parent 3cfe849f68
commit e83eada9a5

View File

@@ -482,6 +482,8 @@ class CommandPathSanity:
try:
for TC in obj.ToolController:
if not hasattr(TC.Tool, 'BitBody'):
continue # skip old-style tools
tooldata = data.setdefault(str(TC.ToolNumber), {})
bitshape = tooldata.setdefault('BitShape', "")
if bitshape not in ["", TC.Tool.BitShape]: