Fixed test

Refactored to NumberOfHotEnds
This commit is contained in:
Lars Brubaker 2016-12-07 16:26:35 -08:00
parent dbd2c20398
commit f4633a582f
5 changed files with 10 additions and 5 deletions

View file

@ -204,7 +204,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
AddDefaultIfNotPresent(preStartGCode, setBedTempString, preStartGCodeLines, "wait for bed temperature to be reached");
}
int numberOfHeatedExtruders = ActiveSliceSettings.Instance.Helpers.NumberOfExtruderHeaters();
int numberOfHeatedExtruders = ActiveSliceSettings.Instance.Helpers.NumberOfHotEnds();
// Start heating all the extruder that we are going to use.
for (int extruderIndex0Based = 0; extruderIndex0Based < numberOfHeatedExtruders; extruderIndex0Based++)