From: daid Date: Mon, 6 Aug 2012 08:18:09 +0000 (+0200) Subject: Fix a bug in the project planner when the temperature is set to zero X-Git-Tag: 13.03~367 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=c8fb4ca80fafb94e560f04f24f949ceeaa97cd2b;p=cura.git Fix a bug in the project planner when the temperature is set to zero --- diff --git a/Cura/gui/projectPlanner.py b/Cura/gui/projectPlanner.py index 954b001e..0f71ec88 100644 --- a/Cura/gui/projectPlanner.py +++ b/Cura/gui/projectPlanner.py @@ -969,7 +969,7 @@ class ProjectSliceProgressWindow(wx.Frame): else: #reset the extrusion length, and move to the next object center. resultFile.write(';TYPE:CUSTOM\n') - if prevTemp != action.temperature: + if prevTemp != action.temperature and action.temperature > 0: resultFile.write('M104 S%d\n' % (int(action.temperature))) prevTemp = action.temperature resultFile.write(profile.getAlterationFileContents('nextobject.gcode'))