Collapse ILibraryReadOnlyStream into ILibraryContentStream
This commit is contained in:
parent
fd59371cbc
commit
68f7c2fa12
6 changed files with 13 additions and 14 deletions
|
|
@ -37,11 +37,8 @@ using MatterControl.Printing;
|
|||
using MatterHackers.Agg.Image;
|
||||
using MatterHackers.Agg.Platform;
|
||||
using MatterHackers.Agg.UI;
|
||||
using MatterHackers.DataConverters3D;
|
||||
using MatterHackers.GCodeVisualizer;
|
||||
using MatterHackers.Localizations;
|
||||
using MatterHackers.MatterControl.PrinterCommunication.Io;
|
||||
using MatterHackers.MatterControl.PrintQueue;
|
||||
using MatterHackers.MatterControl.SlicerConfiguration;
|
||||
using MatterHackers.VectorMath;
|
||||
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ namespace MatterHackers.MatterControl.Library.Export
|
|||
public string ExtensionFilter => "Save as ZIP|*.zip";
|
||||
|
||||
public ImageBuffer Icon { get; } = AggContext.StaticData.LoadIcon(Path.Combine("filetypes", "zip.png"));
|
||||
|
||||
|
||||
public bool EnabledForCurrentPart(ILibraryContentStream libraryContent)
|
||||
{
|
||||
return !libraryContent.IsProtected;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue