From: nickthetait Date: Mon, 25 Jan 2016 17:07:32 +0000 (-0700) Subject: Small refactor of version upgrade X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=bcb410a87c3f7f1b6202b360ae2554ec0c2223c4;p=cura.git Small refactor of version upgrade --- diff --git a/Cura/util/profile.py b/Cura/util/profile.py index c732900c..509a2a29 100644 --- a/Cura/util/profile.py +++ b/Cura/util/profile.py @@ -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)