chiark / gitweb /
Fix version upgrade that changes the wrong machine's width
authorYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Mon, 10 Aug 2015 17:03:31 +0000 (13:03 -0400)
committerYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Mon, 10 Aug 2015 17:03:31 +0000 (13:03 -0400)
Cura/util/profile.py

index 8b525a2f46750cbb0bc44342c508b135e1c32a8f..aa8a213db5ac9e4ce36063e986aeef0b4120a3a2 100644 (file)
@@ -1404,4 +1404,4 @@ def performVersionUpgrade():
                # Change TAZ print bed so prints are centered when scaled to the max
                if machine_type.startswith('lulzbot_TAZ_') and \
                        getMachineSetting('machine_width', n) == '298':
-                       putMachineSetting('machine_width', '290')
+                       putMachineSetting('machine_width', '290', n)