Export X3g Stuff

This commit is contained in:
gregory-diaz 2014-08-27 12:02:15 -07:00
parent 949968817a
commit c02e86441a
7 changed files with 92 additions and 43 deletions

View file

@ -113,7 +113,8 @@ namespace MatterHackers.MatterControl
public void SaveAs()
//Opens Save file dialog and outputs current queue as a project
{
SaveFileDialogParams saveParams = new SaveFileDialogParams("Save Project|*.mcp");
string documentsPath = System.Environment.GetFolderPath (System.Environment.SpecialFolder.Personal);
SaveFileDialogParams saveParams = new SaveFileDialogParams("Save Project|*.mcp", initialDirectory: documentsPath);
System.IO.Stream streamToSaveTo = FileDialog.SaveFileDialog(ref saveParams);
if (streamToSaveTo != null)