Improve Connect commands
- Move M110 reset from ClearQueuedGCode to CreateStreamProcessors - Reduce to one M110 during connect - Fix currentLineIndexToSend to position correctly - Move loadedGCode into root stream processor
This commit is contained in:
parent
edceab2e85
commit
ccb833fc68
3 changed files with 30 additions and 39 deletions
|
|
@ -172,7 +172,7 @@ namespace MatterHackers.MatterControl.PrinterCommunication.Io
|
|||
// and skip everything else until we get to the point we left off last time
|
||||
int commandCount = 0;
|
||||
boundsOfSkippedLayers = RectangleDouble.ZeroIntersection;
|
||||
while (internalStream.FileStreaming.PercentComplete(internalStream.LineIndex) < percentDone)
|
||||
while (internalStream.GCodeFile.PercentComplete(internalStream.LineIndex) < percentDone)
|
||||
{
|
||||
string line = internalStream.ReadLine();
|
||||
if(line == null)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue