chiark / gitweb /
Remove the ?filename? from the project planner slice result.
authordaid303 <daid303@gmail.com>
Fri, 12 Oct 2012 07:38:42 +0000 (09:38 +0200)
committerdaid303 <daid303@gmail.com>
Fri, 12 Oct 2012 07:38:42 +0000 (09:38 +0200)
Cura/gui/projectPlanner.py

index 4098b6843d45f98d5dd3b9875e804271eec51ee5..943eed5266530096e3ad015d1ced2072d6b85805 100644 (file)
@@ -974,7 +974,9 @@ class ProjectSliceProgressWindow(wx.Frame):
                                resultFile.write('T%d\n' % (action.extruder))\r
                                currentExtruder = action.extruder\r
                                prevTemp = action.temperature\r
-                               resultFile.write(profile.getAlterationFileContents('start.gcode'))\r
+                               startGCode = profile.getAlterationFileContents('start.gcode')\r
+                               startGCode = startGCode.replace('?filename?', 'Multiple files')\r
+                               resultFile.write(startGCode)\r
                        else:\r
                                #reset the extrusion length, and move to the next object center.\r
                                resultFile.write(';TYPE:CUSTOM\n')\r