mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06:00
Fix crash when processLinearMove gets called on something else than G0 or G1
Return the original line then.
This commit is contained in:
parent
3cdf5a82a4
commit
8b522a8a58
1 changed files with 1 additions and 1 deletions
|
@ -1101,7 +1101,7 @@ class ChangeAtZProcessor:
|
||||||
|
|
||||||
# if it's not a linear move, we don't care
|
# if it's not a linear move, we don't care
|
||||||
if linear_command is None:
|
if linear_command is None:
|
||||||
return
|
return line
|
||||||
|
|
||||||
# get our linear move parameters
|
# get our linear move parameters
|
||||||
feed_rate = linear_command.Arguments["F"]
|
feed_rate = linear_command.Arguments["F"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue