removing MS auto support generation
This commit is contained in:
parent
f41c77fe82
commit
45b1a32e03
17 changed files with 126 additions and 71 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue