Fix tag dressup to deal with inactive base operation

This commit is contained in:
Markus Lampert
2019-12-15 17:51:43 -08:00
parent 3fce7da269
commit fd9b2d4cdb
2 changed files with 6 additions and 1 deletions

View File

@@ -382,6 +382,8 @@ def wireForPath(path, startPoint = Vector(0, 0, 0)):
rapid.append(edge)
edges.append(edge)
startPoint = commandEndPoint(cmd, startPoint)
if not edges:
return (None, rapid)
return (Part.Wire(edges), rapid)
def wiresForPath(path, startPoint = Vector(0, 0, 0)):