chiark
/
gitweb
/
~ianmdlvl
/
cura.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ac5c4a
)
Small refactor of version upgrade
author
nickthetait
<tait@alephobjects.com>
Mon, 25 Jan 2016 17:07:32 +0000
(10:07 -0700)
committer
nickthetait
<tait@alephobjects.com>
Tue, 26 Jan 2016 21:45:34 +0000
(14:45 -0700)
Cura/util/profile.py
patch
|
blob
|
history
diff --git
a/Cura/util/profile.py
b/Cura/util/profile.py
index c732900c3582cb52fa6daa5797d5c584cd75f693..509a2a2968fac160c598155d6118677e229b75e9 100644
(file)
--- 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)