mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-05 15:40:45 +08:00
backwards compatibility with older project files.
This commit is contained in:
parent
a1b4a50342
commit
4a57502535
@ -163,7 +163,8 @@ class projectPlanner(wx.Frame):
|
||||
item.flipZ = cp.get(section, 'flipZ') == 'True'
|
||||
item.swapXZ = cp.get(section, 'swapXZ') == 'True'
|
||||
item.swapYZ = cp.get(section, 'swapYZ') == 'True'
|
||||
item.extuder = int(cp.get(section, 'extruder'))-1
|
||||
if cp.has_option(section, 'extruder'):
|
||||
item.extuder = int(cp.get(section, 'extruder'))-1
|
||||
i += 1
|
||||
|
||||
self.list.append(item)
|
||||
|
Loading…
x
Reference in New Issue
Block a user