Deleted a bunch of OnMouse code that did not add value.

Merge remote-tracking branch 'origin/1.0.5' into development

Conflicts:
	PartPreviewWindow/GcodeViewBasic.cs
This commit is contained in:
larsbrubaker 2014-03-04 07:32:11 -08:00
commit 1e5e8d672a
10 changed files with 15 additions and 56 deletions

View file

@ -629,6 +629,12 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
void sliceItem_Done(object sender, EventArgs e)
{
// We can add this while we have it open (when we are done loading).
// So we need to make sure we only have it added once. This will be ok to run when
// not added or when added and will ensure we only have one hook.
printItem.SlicingOutputMessage -= sliceItem_SlicingOutputMessage;
printItem.Done -= sliceItem_Done;
UiThread.RunOnIdle(CreateAndAddChildren);
startedSliceFromGenerateButton = false;
}