More work on print resuming.
This commit is contained in:
parent
9d233efb4c
commit
f20ac4dcb5
6 changed files with 124 additions and 36 deletions
|
|
@ -161,6 +161,17 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
|
|||
}
|
||||
}
|
||||
|
||||
public double GetActiveValueAsDouble(string keyToLookUp, double valueOnError)
|
||||
{
|
||||
double foundValue;
|
||||
if (!double.TryParse(GetActiveValue(keyToLookUp), out foundValue))
|
||||
{
|
||||
return valueOnError;
|
||||
}
|
||||
|
||||
return foundValue;
|
||||
}
|
||||
|
||||
public string GetMaterialValue(string sliceSetting, int extruderNumber1Based)
|
||||
{
|
||||
int numberOfActiveLayers = activeSettingsLayers.Count;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue