Remove classic export warning message
- Issue MatterHackers/MCCentral#5158 Export Error
This commit is contained in:
parent
a916a5a44b
commit
ac51976f38
1 changed files with 2 additions and 12 deletions
|
|
@ -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>();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue