mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 14:34:01 -06: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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue