Load GCodeStream from LibraryItem, process and export
- Issue MatterHackers/MCCentral#3835 Export option not available for gcode files
This commit is contained in:
parent
8e3c9392c2
commit
9014c6021a
3 changed files with 17 additions and 3 deletions
|
|
@ -568,6 +568,8 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
});
|
||||
},
|
||||
IsEnabled = () => sceneContext.EditableScene
|
||||
|| (sceneContext.EditContext.SourceItem is ILibraryAsset libraryAsset
|
||||
&& string.Equals(Path.GetExtension(libraryAsset.FileName) ,".gcode" ,StringComparison.OrdinalIgnoreCase))
|
||||
},
|
||||
new NamedAction()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue