Don't serialize DocumentPath, fixes null ref, only meant for runtime use

This commit is contained in:
John Lewin 2017-06-04 16:17:30 -07:00
parent 0dc0621f62
commit 411d894cb1

View file

@ -354,6 +354,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
}
}
[JsonIgnore]
public string DocumentPath => ProfileManager.Instance.ProfilePath(this.ID);
[JsonIgnore]