Fixed dragknife error if coordinate isn't set in command.
This commit is contained in:
committed by
Yorik van Havre
parent
2d798883c7
commit
c0b3e0d4e4
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user