+ small fix in DraftSnap

This commit is contained in:
Yorik van Havre 2011-12-24 14:31:30 -02:00
parent 1fc47ecc1a
commit 9cf345ecfb

View File

@ -225,6 +225,9 @@ class Snapper:
self.lastObj[0] = self.lastObj[1]
self.lastObj[1] = obj.Name
if not snaps:
return point
# calculating the nearest snap point
shortest = 1000000000000000000
origin = Vector(info['x'],info['y'],info['z'])