Fixed a bug with export to folder not working if done a second time.
Made the slicing queue report its status on the uithread.
This commit is contained in:
parent
1ea4162948
commit
a035aed52e
2 changed files with 23 additions and 63 deletions
|
|
@ -219,7 +219,10 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
|
|||
message = "Saving intermediate file";
|
||||
}
|
||||
message += "...";
|
||||
itemToSlice.OnSlicingOutputMessage(new StringEventArgs(message));
|
||||
UiThread.RunOnIdle((state) =>
|
||||
{
|
||||
itemToSlice.OnSlicingOutputMessage(new StringEventArgs(message));
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
|
|
@ -235,8 +238,11 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
|
|||
}
|
||||
}
|
||||
|
||||
itemToSlice.CurrentlySlicing = false;
|
||||
itemToSlice.DoneSlicing = true;
|
||||
UiThread.RunOnIdle((state) =>
|
||||
{
|
||||
itemToSlice.CurrentlySlicing = false;
|
||||
itemToSlice.DoneSlicing = true;
|
||||
});
|
||||
|
||||
using (TimedLock.Lock(listOfSlicingItems, "CreateSlicedPartsThread()"))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue