chiark / gitweb /
Add new firmware update for UM2. Show which firmware you are installing in the firmwa...
[cura.git] / Cura / util / profile.py
index 17a13daa5ce97b524f98d01583454d2bfdac1eb2..e944345a6dba95360382b70c4648976c3a937bba 100644 (file)
@@ -946,6 +946,8 @@ def getAlterationFileContents(filename, extruderCount = 1):
        postfix = ''
        alterationContents = getAlterationFile(filename)
        if getMachineSetting('gcode_flavor') == 'UltiGCode':
+               if filename == 'end.gcode':
+                       return 'M25 ;Stop reading from this point on.\n'
                return ''
        if filename == 'start.gcode':
                if extruderCount > 1: