From c26e9b1a28f55f1a382829b2ccd0f30ebd3c19c3 Mon Sep 17 00:00:00 2001 From: Lars Brubaker Date: Thu, 10 Dec 2015 11:01:26 -0800 Subject: [PATCH] use the max length stuff. --- ApplicationView/MainApplicationWidget.cs | 2 +- PrinterCommunication/Io/BabyStepsStream.cs | 2 +- PrinterCommunication/Io/MaxLengthStream.cs | 2 +- Submodules/MatterSlice | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ApplicationView/MainApplicationWidget.cs b/ApplicationView/MainApplicationWidget.cs index 6c5e25d20..37f113ab5 100644 --- a/ApplicationView/MainApplicationWidget.cs +++ b/ApplicationView/MainApplicationWidget.cs @@ -106,7 +106,7 @@ namespace MatterHackers.MatterControl private bool topIsHidden = false; #region automation test -#if true +#if false bool item = true; bool firstDraw = true; AutomationRunner clickPreview; diff --git a/PrinterCommunication/Io/BabyStepsStream.cs b/PrinterCommunication/Io/BabyStepsStream.cs index 5921998b3..68f595ece 100644 --- a/PrinterCommunication/Io/BabyStepsStream.cs +++ b/PrinterCommunication/Io/BabyStepsStream.cs @@ -83,7 +83,7 @@ namespace MatterHackers.MatterControl.PrinterCommunication.Io layerCount++; if(layerCount == 1) { - maxLengthStream.MaxSegmentLength = 10; + maxLengthStream.MaxSegmentLength = 5; } } return processedLine; diff --git a/PrinterCommunication/Io/MaxLengthStream.cs b/PrinterCommunication/Io/MaxLengthStream.cs index e423ed70c..953ecef72 100644 --- a/PrinterCommunication/Io/MaxLengthStream.cs +++ b/PrinterCommunication/Io/MaxLengthStream.cs @@ -55,7 +55,7 @@ namespace MatterHackers.MatterControl.PrinterCommunication.Io string lineFromChild = base.ReadLine(); // disable this for a test - return lineFromChild; + //return lineFromChild; if (lineFromChild != null && LineIsMovement(lineFromChild)) diff --git a/Submodules/MatterSlice b/Submodules/MatterSlice index e55d7f540..950abab79 160000 --- a/Submodules/MatterSlice +++ b/Submodules/MatterSlice @@ -1 +1 @@ -Subproject commit e55d7f540423791359fc9a0217ae8e2a601435c4 +Subproject commit 950abab793cb707ed9a83829c07d6193153405e0