Remove lookup with invalid SettingsKey, make depricated param optional
- Depricated param defaults to empty string producing the same effect as passing value acquired with invalid key
This commit is contained in:
parent
ee631255e1
commit
139dbf48aa
2 changed files with 2 additions and 3 deletions
|
|
@ -263,8 +263,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
|
|||
{
|
||||
printLevelingData = PrintLevelingData.Create(
|
||||
ActiveSliceSettings.Instance,
|
||||
printerSettings.GetValue(SettingsKey.print_leveling_data),
|
||||
printerSettings.GetValue("MatterControl.PrintLevelingProbePositions"));
|
||||
printerSettings.GetValue(SettingsKey.print_leveling_data));
|
||||
|
||||
if (printLevelingData.SampledPositions.Count == 3)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue