From 14418cb7ad5c37ce7ca2c61bd440da16b555af1d Mon Sep 17 00:00:00 2001 From: daid Date: Tue, 12 Nov 2013 11:38:36 +0100 Subject: [PATCH] Fix the bug where the M140 for bed temperature is not added in the start code. --- Cura/util/profile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cura/util/profile.py b/Cura/util/profile.py index 9dbb40bb..58689145 100644 --- a/Cura/util/profile.py +++ b/Cura/util/profile.py @@ -956,7 +956,7 @@ def getAlterationFileContents(filename, extruderCount = 1): if getMachineSetting('has_heated_bed') == 'True': bedTemp = getProfileSettingFloat('print_bed_temperature') - if bedTemp > 0 and isTagIn('{print_bed_temperature}', alterationContents): + if bedTemp > 0 and not isTagIn('{print_bed_temperature}', alterationContents): prefix += 'M140 S%f\n' % (bedTemp) if temp > 0 and not isTagIn('{print_temperature}', alterationContents): if extruderCount > 0: -- 2.30.2