Made ExtruderShareTemperature go through the api rather than direct query.
This commit is contained in:
parent
40b633b158
commit
e58e7cf049
3 changed files with 4 additions and 4 deletions
|
|
@ -143,7 +143,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
|
|||
|
||||
|
||||
int numberOfHeatedExtruders = 1;
|
||||
if (ActiveSliceSettings.Instance.GetActiveValue("extruders_share_temperature") == "0")
|
||||
if (!ActiveSliceSettings.Instance.ExtrudersShareTemperature)
|
||||
{
|
||||
numberOfHeatedExtruders = ActiveSliceSettings.Instance.ExtruderCount;
|
||||
}
|
||||
|
|
@ -174,7 +174,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
|
|||
postStartGCode.Add("; automatic settings after start_gcode");
|
||||
|
||||
int numberOfHeatedExtruders = 1;
|
||||
if (ActiveSliceSettings.Instance.GetActiveValue("extruders_share_temperature") == "0")
|
||||
if (!ActiveSliceSettings.Instance.ExtrudersShareTemperature)
|
||||
{
|
||||
numberOfHeatedExtruders = ActiveSliceSettings.Instance.ExtruderCount;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue