[#20446] mathutils: bugfix for matrix * matrix - patch by Paul Parchenko (parfoure...
authorDalai Felinto <dfelinto@gmail.com>
Tue, 22 Dec 2009 07:27:53 +0000 (07:27 +0000)
committerDalai Felinto <dfelinto@gmail.com>
Tue, 22 Dec 2009 07:27:53 +0000 (07:27 +0000)
commit9c22e846feba9b51ad2163a36906b0e503326476
tree1c57cf1bd504264501cfcd2e1acb42e037660202
parent5bdcb2dff27e5c52c33728d09152178120009e0c
[#20446] mathutils: bugfix for matrix * matrix - patch by Paul Parchenko (parfoure) thanks

From the tracker:
- typo was making the multiplication to transpose resulting matrix
eg
####
from Mathutils import *
from math import radians

cont = GameLogic.getCurrentController()
owner = cont.owner

owner.worldOrientation = RotationMatrix(radians(1), 3, 'z') * owner.worldOrientation
####
source/blender/python/generic/matrix.c