Clear user baby stepping after new print leveling.

settings save on change
removed redundant expand_thin_walls setting
This commit is contained in:
Lars Brubaker 2017-02-01 13:38:14 -08:00
parent 19d22ce91d
commit 8d47359ad9
15 changed files with 92 additions and 136 deletions

View file

@ -668,7 +668,12 @@ namespace MatterHackers.MatterControl
if (PrinterConnectionAndCommunication.Instance.CommunicationState == PrinterConnectionAndCommunication.CommunicationStates.Printing)
{
PrinterConnectionAndCommunication.Instance.AddToBabyStepOffset(this.moveAxis, this.MoveAmount);
if (moveAxis == PrinterConnectionAndCommunication.Axis.Z) // only works on z
{
var currentZ = ActiveSliceSettings.Instance.GetValue<double>(SettingsKey.baby_step_z_offset);
currentZ += this.MoveAmount;
ActiveSliceSettings.Instance.SetValue(SettingsKey.baby_step_z_offset, currentZ.ToString("0.##"));
}
}
else
{