Eliminate serialized layer cascade

- Issue MatterHackers/MCCentral#5078
defaultLayerCascade serialized into PrinterSettings
This commit is contained in:
John Lewin 2019-02-26 08:50:15 -08:00
parent 2cd6455bf5
commit a3d4a65a46
2 changed files with 5 additions and 3 deletions

View file

@ -676,7 +676,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
}
}
public IEnumerable<PrinterSettingsLayer> defaultLayerCascade
private IEnumerable<PrinterSettingsLayer> defaultLayerCascade
{
get
{
@ -703,6 +703,9 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
yield return this.BaseLayer;
}
}
public IEnumerable<PrinterSettingsLayer> GetDefaultLayerCascade() => defaultLayerCascade;
[JsonIgnore]
public SettingsHelpers Helpers { get; set; }