Fixed dragknife error if coordinate isn't set in command.

This commit is contained in:
Markus Lampert
2019-02-03 12:07:04 -08:00
committed by Yorik van Havre
parent 2d798883c7
commit c0b3e0d4e4

View File

@@ -331,6 +331,13 @@ class ObjectDressup:
newpath.append(curCommand)
continue
if curCommand.x is None:
curCommand.x = currLocation['X']
if curCommand.y is None:
curCommand.y = currLocation['Y']
if curCommand.z is None:
curCommand.z = currLocation['Z']
# rapid retract triggers exit move, else just add to output
if curCommand.Name in rapidcommands:
if (curCommand.z > obj.pivotheight) and (len(queue) == 3):