Settings profile using methods rather than properties
This commit is contained in:
parent
a5ebd1af09
commit
834aba4f38
33 changed files with 205 additions and 228 deletions
|
|
@ -181,7 +181,7 @@ namespace MatterHackers.MatterControl.PrintQueue
|
|||
}
|
||||
}
|
||||
|
||||
PrintLevelingData levelingData = ActiveSliceSettings.Instance.PrintLevelingData;
|
||||
PrintLevelingData levelingData = ActiveSliceSettings.Instance.GetPrintLevelingData();
|
||||
|
||||
// now copy all the gcode to the path given
|
||||
for (int i = 0; i < savedGCodeFileNames.Count; i++)
|
||||
|
|
@ -191,7 +191,7 @@ namespace MatterHackers.MatterControl.PrintQueue
|
|||
string outputFileName = Path.ChangeExtension(originalFileName, ".gcode");
|
||||
string outputPathAndName = Path.Combine(exportPath, outputFileName);
|
||||
|
||||
if (ActiveSliceSettings.Instance.DoPrintLeveling)
|
||||
if (ActiveSliceSettings.Instance.DoPrintLeveling())
|
||||
{
|
||||
GCodeFileLoaded unleveledGCode = new GCodeFileLoaded(savedGcodeFileName);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue