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:
parent
e75dc94e0d
commit
1800734347
10 changed files with 54 additions and 11 deletions
|
|
@ -346,7 +346,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
{
|
||||
UiThread.RunOnIdle((state) =>
|
||||
{
|
||||
OpenFileDialogParams openParams = new OpenFileDialogParams("Select an STL file|*.stl", multiSelect: true);
|
||||
OpenFileDialogParams openParams = new OpenFileDialogParams(ApplicationSettings.OpenDesignFileParams, multiSelect: true);
|
||||
|
||||
FileDialog.OpenFileDialog(ref openParams);
|
||||
LoadAndAddPartsToPlate(openParams.FileNames);
|
||||
|
|
@ -1010,7 +1010,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
if (OpenAddDialogWhenDone)
|
||||
{
|
||||
OpenAddDialogWhenDone = false;
|
||||
OpenFileDialogParams openParams = new OpenFileDialogParams("Select an STL file|*.stl", multiSelect: true);
|
||||
OpenFileDialogParams openParams = new OpenFileDialogParams(ApplicationSettings.OpenDesignFileParams, multiSelect: true);
|
||||
|
||||
FileDialog.OpenFileDialog(ref openParams);
|
||||
LoadAndAddPartsToPlate(openParams.FileNames);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue