removing MS auto support generation

This commit is contained in:
Lars Brubaker 2019-01-03 16:05:02 -08:00
parent f41c77fe82
commit 45b1a32e03
17 changed files with 126 additions and 71 deletions

View file

@ -62,7 +62,7 @@ namespace MatterHackers.MatterControl.Library.Export
public bool ExportPossible(ILibraryAsset libraryItem) => true;
public async Task<bool> Generate(IEnumerable<ILibraryItem> libraryItems, string outputPath, IProgress<ProgressStatus> progress, CancellationToken cancellationToken)
public async Task<ExportResult> Generate(IEnumerable<ILibraryItem> libraryItems, string outputPath, IProgress<ProgressStatus> progress, CancellationToken cancellationToken)
{
var streamItems = libraryItems.OfType<ILibraryAssetStream>();
if (streamItems.Any())
@ -98,10 +98,10 @@ namespace MatterHackers.MatterControl.Library.Export
}
});
return true;
return ExportResult.Success;
}
return false;
return ExportResult.Failure;
}
}
}