Merge pull request #4071 from larsbrubaker/master

Make sure we track positions correctly over relative moves
This commit is contained in:
Lars Brubaker 2018-12-07 17:45:04 -08:00 committed by GitHub
commit e5078c78de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -258,6 +258,8 @@ namespace MatterHackers.MatterControl.Library.Export
var queueStream = new QueuedCommandsStream(printer, gCodeFileStream);
GCodeStream accumulatedStream = queueStream;
accumulatedStream = new RelativeToAbsoluteStream(printer, accumulatedStream);
if (printer.Settings.GetValue<bool>(SettingsKey.enable_line_splitting))
{
accumulatedStream = new BabyStepsStream(printer, accumulatedStream, 1);

@ -1 +1 @@
Subproject commit 376efef4839d1b58a361aecfd00ae94471ff31a7
Subproject commit bc5be6f9f3429eebd025d7cec9cf01cb6a2cf519