Starting to get AMF in as a file type

Unified all the open dialogs to use a common file type list
Made application settings hold the file lists
Made the extruder count a member of ActiveSliceSettings
Made an extruderOffsets mapping
This commit is contained in:
larsbrubaker 2014-09-26 17:52:54 -07:00
parent e75dc94e0d
commit 1800734347
10 changed files with 54 additions and 11 deletions

View file

@ -241,7 +241,7 @@ namespace MatterHackers.MatterControl.PrintLibrary
void loadFile_ClickOnIdle(object state)
{
OpenFileDialogParams openParams = new OpenFileDialogParams("Select an STL file, Select a GCODE file|*.stl;*.gcode", multiSelect: true);
OpenFileDialogParams openParams = new OpenFileDialogParams(ApplicationSettings.OpenPrintableFileParams, multiSelect: true);
FileDialog.OpenFileDialog(ref openParams);
if (openParams.FileNames != null)
{