diff --git a/wfobj.py b/wfobj.py index 6e90984..5a80ff5 100755 --- a/wfobj.py +++ b/wfobj.py @@ -74,7 +74,7 @@ class WFObj(object): if len(parts[1:]) == 3: # face is a triangle add_face(*parts[1:]) - elif len(parts[1:]) > 4: + elif len(parts[1:]) == 4: # split the quad into two triangles add_face(*parts[1:3]) add_face(parts[1], parts[3], parts[4])