Remove library path specifier from Scene.Save instance member
This commit is contained in:
parent
256579dd95
commit
313893c802
4 changed files with 13 additions and 7 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue