mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 13:29:00 +08: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
@ -1101,7 +1101,7 @@ class ChangeAtZProcessor:
|
||||
|
||||
# if it's not a linear move, we don't care
|
||||
if linear_command is None:
|
||||
return
|
||||
return line
|
||||
|
||||
# get our linear move parameters
|
||||
feed_rate = linear_command.Arguments["F"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user