Don't apply printspeed to travel moves

As the documentation says, only apply it to extrusion moves.

Done as a 5 minute fix.
This commit is contained in:
Ghostkeeper 2020-08-07 16:07:42 +02:00
parent 8b522a8a58
commit cc99c481af
No known key found for this signature in database
GPG key ID: D2A8871EE34EC59A

View file

@ -1120,7 +1120,8 @@ class ChangeAtZProcessor:
new_line = self.processRetractFeedRate(extrude_length, feed_rate, new_line, x_coord, y_coord, z_coord) new_line = self.processRetractFeedRate(extrude_length, feed_rate, new_line, x_coord, y_coord, z_coord)
# handle print speed adjustments # handle print speed adjustments
new_line = self.processPrintSpeed(feed_rate, new_line) if extrude_length is not None: # Only for extrusion moves.
new_line = self.processPrintSpeed(feed_rate, new_line)
# set our current extrude position # set our current extrude position
self.LastE = extrude_length if extrude_length is not None else self.LastE self.LastE = extrude_length if extrude_length is not None else self.LastE