diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-07-11 02:57:27 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-07-11 02:57:27 +0400 |
commit | 488e1da935d55330be55eb30b4605b993dd65dbd (patch) | |
tree | d4437d5e74e962482a4a6aa5336212c257f0245e /io_scene_x3d/import_x3d.py | |
parent | 8012053e1e178c8cabb133e05dc1e36d52908fa7 (diff) |
cleanup
- remove/comment unused variables
- remove unused imports
- fixed some bugs using incorrect variables
Diffstat (limited to 'io_scene_x3d/import_x3d.py')
-rw-r--r-- | io_scene_x3d/import_x3d.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/io_scene_x3d/import_x3d.py b/io_scene_x3d/import_x3d.py index 28c0abac..1ee0e9f5 100644 --- a/io_scene_x3d/import_x3d.py +++ b/io_scene_x3d/import_x3d.py @@ -601,7 +601,6 @@ class vrmlNode(object): # See if this is a proto name if AS_CHILD: - child_array = None for child in self_real.children: if child.id and len(child.id) == 1 and child.id[0] == field: return child @@ -1881,7 +1880,7 @@ def importMesh_IndexedLineSet(geom, ancestry): for line in lines: if not line: continue - co = points[line[0]] + # co = points[line[0]] # UNUSED nu = bpycurve.splines.new('POLY') nu.points.add(len(line) - 1) # the new nu has 1 point to begin with for il, pt in zip(line, nu.points): |