Path: re-add the fix from https://github.com/FreeCAD/FreeCAD/pull/725
This commit is contained in:
committed by
Yorik van Havre
parent
bed4255b0d
commit
d0bad0a3fc
@@ -553,6 +553,7 @@ def sort_jobs(locations, keys, attractors=[]):
|
||||
zero = defaultdict(lambda: 0)
|
||||
|
||||
out.append(find_closest(locations, zero, sqdist))
|
||||
locations.remove(out[-1])
|
||||
|
||||
while locations:
|
||||
closest = find_closest(locations, out[-1], sqdist)
|
||||
|
||||
Reference in New Issue
Block a user