Blender 2.4: object.matrixLocal does not work correct ??

Hello,

does anyone know if object.matrixLocal does not work correct or
my way of thinking is wrong :-?

Example:

Made a mesh cube

object.matrixLocal of mesh is the same as global matrix - is ok

I created an empty object and made it parent to the mesh

object.matrixLocal of cube stayed the same - is wrong

because cube local matrix now depends on matrix of empty

Can anyone help ?

Best regards

Gerhard

Yes you’re right.This matrices had never worked correctly
alltogether.Anyway if you need the local matrix of the child
in parents space, multiply its world matrix(in this case is the
same as local, uncorrecltly)with the inverse of the world matrix
of its parent.

Ben