Persist tuning adjustments into printer settings
This commit is contained in:
parent
09119eb068
commit
3aa13d82c4
7 changed files with 110 additions and 135 deletions
|
|
@ -1042,7 +1042,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
|
|||
|
||||
var persistenceLayer = layer ?? UserLayer;
|
||||
|
||||
// If the setting exists and is set the requested value, exit without setting or saving
|
||||
// If the setting exists and is set to the requested value, exit without setting or saving
|
||||
string existingValue;
|
||||
if (persistenceLayer.TryGetValue(settingsKey, out existingValue) && existingValue == settingsValue)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -116,6 +116,8 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
|
|||
public const string ip_port = nameof(ip_port);
|
||||
public const string first_layer_speed = nameof(first_layer_speed);
|
||||
public const string active_quality_key = nameof(active_quality_key);
|
||||
public const string extrusion_ratio = nameof(extrusion_ratio);
|
||||
public const string feedrate_ratio = nameof(feedrate_ratio);
|
||||
}
|
||||
|
||||
public class SettingsHelpers
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue