mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-06-26 01:15:28 -06:00
Update OneAtATimeIterator.py
saving node_list after sorting
This commit is contained in:
parent
355f24e29f
commit
a7292c7baf
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ class OneAtATimeIterator(Iterator.Iterator):
|
|||
|
||||
# Sort the original list so that items that block the most other objects are at the beginning.
|
||||
# This does not decrease the worst case running time, but should improve it in most cases.
|
||||
sorted(node_list, key = cmp_to_key(hit_checker.calculateScore))
|
||||
node_list = sorted(node_list, key = cmp_to_key(hit_checker.calculateScore))
|
||||
|
||||
todo_node_list = [_ObjectOrder([], node_list)]
|
||||
while len(todo_node_list) > 0:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue