diff --git a/PrinterCommunication/Io/ProcessWriteRegExStream.cs b/PrinterCommunication/Io/ProcessWriteRegExStream.cs index 5a256a3f9..105b53b44 100644 --- a/PrinterCommunication/Io/ProcessWriteRegExStream.cs +++ b/PrinterCommunication/Io/ProcessWriteRegExStream.cs @@ -62,6 +62,13 @@ namespace MatterHackers.MatterControl.PrinterCommunication.Io return null; } + // if the line has no content don't process it + if (baseLine.Length == 0 + || baseLine.Trim().Length == 0) + { + return baseLine; + } + var lines = ProcessWriteRegEx(baseLine); for (int i = 1; i < lines.Count; i++) { diff --git a/Submodules/MatterSlice b/Submodules/MatterSlice index 1dfe0b8e6..8ef196a04 160000 --- a/Submodules/MatterSlice +++ b/Submodules/MatterSlice @@ -1 +1 @@ -Subproject commit 1dfe0b8e6a26ee9f336e6340980b34589a8453a9 +Subproject commit 8ef196a04d1ab2ab8d85d14ce9be1c1926a55666 diff --git a/Submodules/agg-sharp b/Submodules/agg-sharp index 16c87b150..19fdcacb2 160000 --- a/Submodules/agg-sharp +++ b/Submodules/agg-sharp @@ -1 +1 @@ -Subproject commit 16c87b150f6ce47a5eeff160b0ced31be6272f12 +Subproject commit 19fdcacb255f5ab8374675bbdf3610ecc71c8a2c