From d92e8dd5240bcd39001616dc6f86859d0c646375 Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Fri, 14 Dec 2018 13:22:32 -0200 Subject: [PATCH] Draft: Fixed nearest snap not snapping to the working plane when required --- src/Mod/Draft/DraftSnap.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/Draft/DraftSnap.py b/src/Mod/Draft/DraftSnap.py index 8434301d8d..fd4df05054 100644 --- a/src/Mod/Draft/DraftSnap.py +++ b/src/Mod/Draft/DraftSnap.py @@ -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 []