Disable x3g export (for now)

This commit is contained in:
Kevin Pope 2014-08-20 12:14:17 -07:00
parent 4d84481758
commit c782181ea9
2 changed files with 14 additions and 14 deletions

View file

@ -123,19 +123,19 @@ namespace MatterHackers.MatterControl
middleRowContainer.AddChild(exportToSdCard);
}
if (ActiveSliceSettings.Instance.IsMakerbotGCodeFlavor() && !PrinterConnectionAndCommunication.Instance.PrinterIsPrinting)
{
string exportAsX3GText = "Export as X3G".Localize();
Button exportAsX3G = textImageButtonFactory.Generate(exportAsX3GText);
exportAsX3G.HAnchor = HAnchor.ParentLeft;
exportAsX3G.Cursor = Cursors.Hand;
exportAsX3G.Click += new ButtonBase.ButtonEventHandler((object sender, MouseEventArgs e) =>
{
UiThread.RunOnIdle(ExportX3G_Click);
//if (ActiveSliceSettings.Instance.IsMakerbotGCodeFlavor() && !PrinterConnectionAndCommunication.Instance.PrinterIsPrinting)
//{
// string exportAsX3GText = "Export as X3G".Localize();
// Button exportAsX3G = textImageButtonFactory.Generate(exportAsX3GText);
// exportAsX3G.HAnchor = HAnchor.ParentLeft;
// exportAsX3G.Cursor = Cursors.Hand;
// exportAsX3G.Click += new ButtonBase.ButtonEventHandler((object sender, MouseEventArgs e) =>
// {
// UiThread.RunOnIdle(ExportX3G_Click);
});
middleRowContainer.AddChild(exportAsX3G);
}
// });
// middleRowContainer.AddChild(exportAsX3G);
//}
}
middleRowContainer.AddChild(new VerticalSpacer());