Say who is the owner of executing tasks. This allows us to filter running tasks displays
issue: MatterHackers/MCCentral#4660 Not printing printer tab showing print progress from printing printer tab
This commit is contained in:
parent
273e20be89
commit
8de283dbfe
20 changed files with 87 additions and 63 deletions
|
|
@ -152,7 +152,7 @@ namespace MatterHackers.MatterControl.Library.Export
|
|||
else if (firstItem.AssetPath == printer.Bed.EditContext.SourceFilePath)
|
||||
{
|
||||
// If item is bedplate, save any pending changes before starting the print
|
||||
await ApplicationController.Instance.Tasks.Execute("Saving".Localize(), printer.Bed.SaveChanges);
|
||||
await ApplicationController.Instance.Tasks.Execute("Saving".Localize(), printer, printer.Bed.SaveChanges);
|
||||
loadedItem = printer.Bed.Scene;
|
||||
CenterOnBed = false;
|
||||
}
|
||||
|
|
@ -212,6 +212,7 @@ namespace MatterHackers.MatterControl.Library.Export
|
|||
|
||||
await ApplicationController.Instance.Tasks.Execute(
|
||||
"Slicing Item".Localize() + " " + loadedItem.Name,
|
||||
printer,
|
||||
(reporter, cancellationToken2) =>
|
||||
{
|
||||
return Slicer.SliceItem(loadedItem, gcodePath, printer, reporter, cancellationToken2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue