diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-07-10 21:28:53 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-07-10 21:28:53 +0400 |
commit | 8012053e1e178c8cabb133e05dc1e36d52908fa7 (patch) | |
tree | fd3f79b7e8cd9ee165ff2ece9a1ef9d2cf7ca058 /io_import_scene_mhx.py | |
parent | 0507e7a5b8dd558e12c906dd398a6e0bd7f76911 (diff) |
cleanup
- remove unused imports
- remove/comment unused vars
- fix for some bugs with unused vars being used
Diffstat (limited to 'io_import_scene_mhx.py')
-rw-r--r-- | io_import_scene_mhx.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/io_import_scene_mhx.py b/io_import_scene_mhx.py index 04828de9..60fdc428 100644 --- a/io_import_scene_mhx.py +++ b/io_import_scene_mhx.py @@ -62,7 +62,6 @@ BLENDER_VERSION = (2, 58, 0) import bpy import os import time -import mathutils from mathutils import Matrix #import geometry #import string @@ -283,7 +282,7 @@ def readMhxFile(filePath): print( "Opening MHX file "+ fileName ) time1 = time.clock() - ignore = False + # ignore = False # UNUSED stack = [] tokens = [] key = "toplevel" @@ -334,7 +333,7 @@ def readMhxFile(filePath): except: print( "Tokenizer error at or before line %d" % lineNo ) print( line ) - dummy = stack.pop() + stack.pop() elif lineSplit[-1] == ';': if lineSplit[0] == '\\': key = lineSplit[1] |