From 488e1da935d55330be55eb30b4605b993dd65dbd Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 10 Jul 2011 22:57:27 +0000 Subject: cleanup - remove/comment unused variables - remove unused imports - fixed some bugs using incorrect variables --- io_scene_x3d/import_x3d.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'io_scene_x3d/import_x3d.py') 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): -- cgit v1.2.3