From e24ca6ff9b679b31e4d12075d99ae607dbd82444 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Fri, 4 Jul 2014 23:05:36 -0400 Subject: [PATCH] Fix incorrect matrix conversion --- korman/exporter/utils.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/korman/exporter/utils.py b/korman/exporter/utils.py index 8e9201c..39a71dc 100644 --- a/korman/exporter/utils.py +++ b/korman/exporter/utils.py @@ -23,10 +23,10 @@ def matrix44(blmat): """Converts a mathutils.Matrix to an hsMatrix44""" hsmat = hsMatrix44() for i in range(4): - hsmat[0, i] = blmat[i][0] - hsmat[1, i] = blmat[i][1] - hsmat[2, i] = blmat[i][2] - hsmat[3, i] = blmat[i][3] + hsmat[i, 0] = blmat[i][0] + hsmat[i, 1] = blmat[i][1] + hsmat[i, 2] = blmat[i][2] + hsmat[i, 3] = blmat[i][3] return hsmat def vector3(blvec):