Made the max transmit calculation right in MaxLengthStream

This commit is contained in:
Lars Brubaker 2015-12-07 10:54:27 -08:00
parent 983c947b8b
commit 7081a03b57
2 changed files with 2 additions and 2 deletions

View file

@ -68,7 +68,7 @@ namespace MatterHackers.MatterControl.PrinterCommunication.Io
public BabyStepsStream(GCodeStream internalStream)
: base(null)
{
maxLengthStream = new MaxLengthStream(internalStream, 2);
maxLengthStream = new MaxLengthStream(internalStream, 1);
offsetStream = new OffsetStream(maxLengthStream, new Vector3(0, 0, 0));
base.internalStream = offsetStream;
}