chiark / gitweb /
Small refactor of version upgrade
authornickthetait <tait@alephobjects.com>
Mon, 25 Jan 2016 17:07:32 +0000 (10:07 -0700)
committernickthetait <tait@alephobjects.com>
Tue, 26 Jan 2016 21:45:34 +0000 (14:45 -0700)
Cura/util/profile.py

index c732900c3582cb52fa6daa5797d5c584cd75f693..509a2a2968fac160c598155d6118677e229b75e9 100644 (file)
@@ -1411,7 +1411,8 @@ def performVersionUpgrade():
                                        putMachineSetting('machine_name', machine_name.replace(" (0.5 nozzle)", ""), n)
 
                # Change TAZ print bed so prints are centered when scaled to the max
-               if machine_type.startswith('lulzbot_TAZ_') and \
+               if (machine_type.startswith('lulzbot_TAZ_4') or \
+                   machine_type.startswith('lulzbot_TAZ_5')) and \
                        getMachineSetting('machine_width', n) == '298':
                        putMachineSetting('machine_width', '290', n)