Revise ReportProgressRatio implementation
This commit is contained in:
parent
990539d979
commit
4eb8ebe254
21 changed files with 95 additions and 87 deletions
|
|
@ -30,6 +30,7 @@ either expressed or implied, of the FreeBSD Project.
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Threading;
|
||||
using MatterHackers.Agg;
|
||||
using MatterHackers.DataConverters3D;
|
||||
using MatterHackers.GCodeVisualizer;
|
||||
|
|
@ -190,7 +191,7 @@ namespace MatterHackers.MatterControl.PrintQueue
|
|||
|
||||
if (ActiveSliceSettings.Instance.GetValue<bool>(SettingsKey.print_leveling_enabled))
|
||||
{
|
||||
GCodeMemoryFile unleveledGCode = new GCodeMemoryFile(savedGcodeFileName);
|
||||
GCodeMemoryFile unleveledGCode = new GCodeMemoryFile(savedGcodeFileName, CancellationToken.None);
|
||||
|
||||
for (int j = 0; j < unleveledGCode.LineCount; j++)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue