Browse Source

remove local used in debugging

Chris 13 years ago
parent
commit
b3f1af8364
1 changed files with 2 additions and 4 deletions
  1. 2 4
      utils/exporters/obj/convert_obj_three.py

+ 2 - 4
utils/exporters/obj/convert_obj_three.py

@@ -557,8 +557,7 @@ def parse_obj(fname):
                         if vertex['n'] < 0:
                             vertex['n'] += normlen
                         normal_index.append(vertex['n'])
-
-                d = {
+                faces.append({
                     'vertex':vertex_index,
                     'uv':uv_index,
                     'normal':normal_index,
@@ -567,8 +566,7 @@ def parse_obj(fname):
                     'group':group,
                     'object':object,
                     'smooth':smooth,
-                    }
-                faces.append(d)
+                    })
 
             # Group
             if chunks[0] == "g" and len(chunks) == 2: