mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 05:35:58 +08:00
Actually execute the reverse pass in reverse
As it should. Contributes to issue CURA-5561.
This commit is contained in:
parent
5e85af30de
commit
0ad644386e
@ -435,7 +435,7 @@ class CommandBuffer:
|
|||||||
|
|
||||||
#Second pass: Reverse kernel.
|
#Second pass: Reverse kernel.
|
||||||
kernel_commands = [None, None, None]
|
kernel_commands = [None, None, None]
|
||||||
for cmd in self._all_commands:
|
for cmd in reversed(self._all_commands):
|
||||||
if cmd.estimated_exec_time_in_ms >= 0:
|
if cmd.estimated_exec_time_in_ms >= 0:
|
||||||
continue #Not a movement command.
|
continue #Not a movement command.
|
||||||
kernel_commands[2] = kernel_commands[1]
|
kernel_commands[2] = kernel_commands[1]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user