mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 02:59:00 +08:00
Store current feedrate when encountering it
Otherwise the feedrate is zero and we get divisions by zero. Contributes to issue CURA-5561.
This commit is contained in:
parent
df8ee1928d
commit
2cc3a593ef
@ -221,6 +221,7 @@ class Command:
|
||||
new_position[1] = float(value_dict.get("Y", new_position[1]))
|
||||
new_position[2] = float(value_dict.get("Z", new_position[2]))
|
||||
new_position[3] = float(value_dict.get("E", new_position[3]))
|
||||
buf.current_feedrate = value_dict.get("F", buf.current_feedrate)
|
||||
|
||||
self._delta = [
|
||||
new_position[0] - buf.current_position[0],
|
||||
|
Loading…
x
Reference in New Issue
Block a user