diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-07-18 09:09:07 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-07-18 09:09:07 +0400 |
commit | 34680d1f7b31f59cacb10f3782fd100bbf503b3d (patch) | |
tree | 1ebd6ceb492e0e8395c38ea5aaf3d7496ab4d9cc /io_anim_bvh | |
parent | c406858e15028667e2e2a0e47ee3530eb6e65c45 (diff) |
fix for invalid axis being allowed on import/export
Diffstat (limited to 'io_anim_bvh')
-rw-r--r-- | io_anim_bvh/export_bvh.py | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/io_anim_bvh/export_bvh.py b/io_anim_bvh/export_bvh.py index 6ee688be..c6173b6a 100644 --- a/io_anim_bvh/export_bvh.py +++ b/io_anim_bvh/export_bvh.py @@ -141,21 +141,21 @@ def write_armature(context, # so we can write motion class DecoratedBone(object): - __slots__ = (\ - "name", # bone name, used as key in many places - "parent", # decorated bone parent, set in a later loop - "rest_bone", # blender armature bone - "pose_bone", # blender pose bone - "pose_mat", # blender pose matrix - "rest_arm_mat", # blender rest matrix (armature space) - "rest_local_mat", # blender rest batrix (local space) - "pose_imat", # pose_mat inverted - "rest_arm_imat", # rest_arm_mat inverted - "rest_local_imat", # rest_local_mat inverted - "prev_euler", # last used euler to preserve euler compability in between keyframes - "connected", # is the bone connected to the parent bone? - "rot_order", - "rot_order_str", + __slots__ = ( + "name", # bone name, used as key in many places + "parent", # decorated bone parent, set in a later loop + "rest_bone", # blender armature bone + "pose_bone", # blender pose bone + "pose_mat", # blender pose matrix + "rest_arm_mat", # blender rest matrix (armature space) + "rest_local_mat", # blender rest batrix (local space) + "pose_imat", # pose_mat inverted + "rest_arm_imat", # rest_arm_mat inverted + "rest_local_imat", # rest_local_mat inverted + "prev_euler", # last used euler to preserve euler compability in between keyframes + "connected", # is the bone connected to the parent bone? + "rot_order", + "rot_order_str", ) _eul_order_lookup = { |