backwards compatibility with older project files.
This commit is contained in:
parent
a1b4a50342
commit
4a57502535
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Reference in a new issue