-- Campbell Barton updated some of his contributions, thanks!
This commit is contained in:
Willian Padovani Germano
2004-12-01 04:49:04 +00:00
parent 40f1dfe380
commit f6aaafe868
4 changed files with 36 additions and 26 deletions

View File

@@ -135,7 +135,7 @@ def save_obj(filename):
# modify the open file.
for f in m.faces:
if len(f.v) < 3:
mesh.faces.remove(f)
m.faces.remove(f)
if len(m.faces) == 0: # Make sure there is somthing to write.
continue #dont bother with this mesh.