Updated based on comment

This commit is contained in:
Roy-043
2025-03-12 09:47:03 +01:00
parent c526bd9bbe
commit 2ff5bea79e

View File

@@ -491,9 +491,7 @@ class Snapper:
shortest_all = dist
winner_all = snap
if winner_not_near is None:
winner = winner_all
elif shortest_not_near == shortest_all:
if winner_not_near is None or shortest_not_near == shortest_all:
winner = winner_all
else:
view = Draft.get3DView()