Remove library path specifier from Scene.Save instance member

This commit is contained in:
John Lewin 2018-02-06 22:27:46 -08:00
parent 256579dd95
commit 313893c802
4 changed files with 13 additions and 7 deletions

View file

@ -597,6 +597,8 @@ namespace MatterHackers.MatterControl
public ApplicationController()
{
Object3D.AssetsPath = Path.Combine(ApplicationDataStorage.Instance.ApplicationLibraryDataPath, "Assets");
ScrollBar.DefaultMargin = new BorderDouble(right: 1);
ScrollBar.ScrollBarWidth = 8 * GuiWidget.DeviceScale;
ScrollBar.GrowThumbBy = 2;

View file

@ -494,7 +494,7 @@ namespace MatterHackers.MatterControl
{
if (this.Scene.Persistable)
{
this.Scene.PersistAssets(ApplicationDataStorage.Instance.ApplicationLibraryDataPath, progress);
this.Scene.PersistAssets(progress);
this.EditContext?.Save();
}
}