Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'io_import_scene_mhx.py')
-rw-r--r--io_import_scene_mhx.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_import_scene_mhx.py b/io_import_scene_mhx.py
index f2a3934e..4ea15e91 100644
--- a/io_import_scene_mhx.py
+++ b/io_import_scene_mhx.py
@@ -1805,7 +1805,7 @@ def parseProcess(args, tokens):
print(val)
axis = val[1]
angle = float(val[2])
- mat = mathutils.RotationMatrix(angle, 4, axis)
+ mat = mathutils.Matrix.Rotation(angle, 4, axis)
try:
pb = pbones[val[0]]
prod = pb.matrix_local * mat