separating support generator and support ui panel

This commit is contained in:
Lars Brubaker 2019-01-18 15:47:11 -08:00
parent 3db05ddfbf
commit eea38a91c7
3 changed files with 361 additions and 335 deletions

View file

@ -246,7 +246,8 @@ namespace MatterHackers.MatterControl.Library.Export
ApplyStreamPipelineAndExport(gcodePath, outputPath);
// last let's check if there is any support in the scene and if it looks like it is needed
if (GenerateSupportPanel.RequiresSupport(printer.Bed.Scene))
var supportGenerator = new SupportGenerator(printer.Bed.Scene);
if (supportGenerator.RequiresSupport())
{
UiThread.RunOnIdle(() =>
{