Clear user baby stepping after new print leveling.
settings save on change removed redundant expand_thin_walls setting
This commit is contained in:
parent
19d22ce91d
commit
8d47359ad9
15 changed files with 92 additions and 136 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue