diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-02-27 18:27:55 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-02-27 18:27:55 +0300 |
commit | ebeeb59020f86fa0504f364d7703aa9dd100978b (patch) | |
tree | 2390eb23a115908b0d21a3e4c76caa0ab4c6a749 /io_import_scene_mhx.py | |
parent | 8bc9aa9df9885297fc32641e4ffbc333d4c20dfd (diff) |
replace imports from *, considered bad practice by python devs.
Diffstat (limited to 'io_import_scene_mhx.py')
-rw-r--r-- | io_import_scene_mhx.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/io_import_scene_mhx.py b/io_import_scene_mhx.py index e4993b3e..3e470390 100644 --- a/io_import_scene_mhx.py +++ b/io_import_scene_mhx.py @@ -66,7 +66,7 @@ import bpy import os import time import mathutils -from mathutils import * +from mathutils import Matrix #import geometry #import string @@ -2144,7 +2144,7 @@ def parseProcess(args, tokens): elif key == 'Bend': axis = val[1] angle = float(val[2]) - mat = mathutils.Matrix.Rotation(angle, 4, axis) + mat = Matrix.Rotation(angle, 4, axis) try: pb = pbones[val[0]] prod = pb.matrix_local * mat @@ -2602,8 +2602,8 @@ def writeDefaults(): # User interface # -DEBUG= False -from bpy.props import * +DEBUG = False +from bpy.props import StringProperty, FloatProperty, EnumProperty from io_utils import ImportHelper |