diff options
author | Ghostkeeper <rubend@tutanota.com> | 2020-08-07 16:29:55 +0300 |
---|---|---|
committer | Ghostkeeper <rubend@tutanota.com> | 2020-08-07 16:29:55 +0300 |
commit | 8b522a8a58a5ac8005e52bd6acdc7083124000ac (patch) | |
tree | d11791993ef3b41cb105193e738562f2dbee0e2e /plugins/PostProcessingPlugin/scripts | |
parent | 3cdf5a82a418abdcf13f37dee592b82b7657305f (diff) |
Fix crash when processLinearMove gets called on something else than G0 or G1
Return the original line then.
Diffstat (limited to 'plugins/PostProcessingPlugin/scripts')
-rw-r--r-- | plugins/PostProcessingPlugin/scripts/ChangeAtZ.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/PostProcessingPlugin/scripts/ChangeAtZ.py b/plugins/PostProcessingPlugin/scripts/ChangeAtZ.py index f4041b8650..e34f1d80eb 100644 --- a/plugins/PostProcessingPlugin/scripts/ChangeAtZ.py +++ b/plugins/PostProcessingPlugin/scripts/ChangeAtZ.py @@ -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"] |