bone local_matrix all at location 0,0,0? I'm trying to update a script from blender 2.55 to 2.7 which was supposed to work, but here I have an issue, to get the bone matrices I take the armature world_matrix and multiply by the bone local_matrix but all my bone seems to be at 0,0,0. I need to obtain the world matrix of each bone in object mode.

my test code:

import bpy
from bpy.props import *

ob=bpy.context.selected_objects[0]

for bone in ob.modifiers[0].object.pose.bones:
    print("matrix channel",bone.matrix_channel)
for bone in ob.modifiers[0].object.data.bones:
    print("matrix_local",bone.matrix_local)


For both I have 0,0,0 for location (last line 0 0 0 1)

Thanks
this is not official but after inspection :


the last line is not for location in 4*4 matrix 





matrix_local is the rest matrix in the armature space 
matrix_channel is the pose matrix according to the rest state
i think the last line is there to make a square matrix