Draft: Fixed nearest snap not snapping to the working plane when required

This commit is contained in:
Yorik van Havre
2018-12-14 13:22:32 -02:00
parent 0f4099bc9a
commit d92e8dd524

View File

@@ -880,11 +880,11 @@ class Snapper:
p = Vector(info['x'],info['y'],info['z'])
if active:
if self.isEnabled("passive"):
return [p,'endpoint',p]
return [p,'endpoint',self.toWP(p)]
else:
return []
elif self.isEnabled("passive"):
return [p,'passive',p]
return [p,'passive',self.toWP(p)]
else:
return []