Merge pull request #20125 from Roy-043/Draft-Fix-error-in-20118

Draft: Fix error in #20118
This commit is contained in:
Roy-043
2025-03-12 15:31:57 +00:00
committed by GitHub

View File

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