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:
authorCampbell Barton <ideasman42@gmail.com>2010-04-25 23:40:06 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-04-25 23:40:06 +0400
commitd02524ebd120978313aa37e70cf020e1999d0db3 (patch)
tree63c90e4723b3857182992284ba1bfdaf1dfbc6d5 /export_unreal_psk_psa.py
parent9c0724824822b9fec5562081f6e3d5d1f26c732d (diff)
update for mathutils, also stripped some redundant conversions.
Diffstat (limited to 'export_unreal_psk_psa.py')
-rw-r--r--export_unreal_psk_psa.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/export_unreal_psk_psa.py b/export_unreal_psk_psa.py
index 34880080..b24d00a9 100644
--- a/export_unreal_psk_psa.py
+++ b/export_unreal_psk_psa.py
@@ -1076,11 +1076,11 @@ def make_filename_ext(filename, extension):
# (ie. the same as B*A if A and B are matrices representing
# the rotations described by quaternions a and b)
def grassman(a, b):
- return mathutils.Quaternion(
+ return mathutils.Quaternion((
a.w*b.w - a.x*b.x - a.y*b.y - a.z*b.z,
a.w*b.x + a.x*b.w + a.y*b.z - a.z*b.y,
a.w*b.y - a.x*b.z + a.y*b.w + a.z*b.x,
- a.w*b.z + a.x*b.y - a.y*b.x + a.z*b.w)
+ a.w*b.z + a.x*b.y - a.y*b.x + a.z*b.w))
def parse_animation(blender_scene, blender_armatures, psa_file):
#to do list: