Remove classic export warning message

- Issue MatterHackers/MCCentral#5158
Export Error
This commit is contained in:
jlewin 2019-03-18 16:31:41 -07:00
parent a916a5a44b
commit ac51976f38

View file

@ -245,24 +245,14 @@ namespace MatterHackers.MatterControl.Library.Export
if (File.Exists(gcodePath))
{
ApplyStreamPipelineAndExport(gcodePath, outputPath);
// last let's check if there is any support in the scene and if it looks like it is needed
var supportGenerator = new SupportGenerator(printer.Bed.Scene);
if (supportGenerator.RequiresSupport())
{
UiThread.RunOnIdle(() =>
{
var warning = "Some of the parts appear to require support. Consider adding support and re-exporting to get the best results possible.".Localize();
StyledMessageBox.ShowMessageBox(warning, "Warning: Support Required".Localize());
});
}
return errors;
}
}
catch
{
}
return new List<ValidationError>();
}
}