backwards compatibility with older project files.

This commit is contained in:
Daid 2012-04-27 21:48:56 +02:00
parent a1b4a50342
commit 4a57502535

View File

@ -163,6 +163,7 @@ 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'
if cp.has_option(section, 'extruder'):
item.extuder = int(cp.get(section, 'extruder'))-1
i += 1