Add custom converter to import non-serialized MaterialSettingsKeys

- Issue MatterHackers/MCCentral#5127
Active material lost after sync fixes
This commit is contained in:
jlewin 2019-03-06 13:31:57 -08:00
parent 660981a1c9
commit f3620aa29c
3 changed files with 49 additions and 17 deletions

View file

@ -76,10 +76,6 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
return movementSpeeds["e0"];
}
//[JsonIgnore]
//public string DocumentPath => ProfileManager.Instance.ProfilePath(this.ID);
//[JsonIgnore]
public static bool AutoSave { get; set; } = true;
public static void Save(this PrinterSettings settings, bool clearBlackListSettings = false)