Commit 844a0923 authored by paulusmax's avatar paulusmax

Fix line in Project.py which prevented the saving of .stl models

git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@982 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent cd11496c
......@@ -2530,8 +2530,7 @@ class ProjectGui:
return
try:
file_in = open(filename, "w")
model.export(comment=self.get_meta_data(),
unit=self.settings.get("unit")).write(file_in)
model.export(comment=self.get_meta_data()).write(file_in)
file_in.close()
except IOError, err_msg:
log.error("Failed to save model file: %s" % err_msg)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment