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_scene_ms3d/ms3d_utils.py')
-rw-r--r--io_scene_ms3d/ms3d_utils.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/io_scene_ms3d/ms3d_utils.py b/io_scene_ms3d/ms3d_utils.py
index 6617a8da..db362338 100644
--- a/io_scene_ms3d/ms3d_utils.py
+++ b/io_scene_ms3d/ms3d_utils.py
@@ -175,8 +175,7 @@ def rotation_matrix(v_track, v_up):
###############################################################################
def matrix_difference(mat_src, mat_dst):
- mat_dst_inv = mat_dst.copy()
- mat_dst_inv.invert()
+ mat_dst_inv = mat_dst.inverted()
return mat_dst_inv * mat_src