Blender Git Loki
Git Commits -> Revision a58f0ee
Revision a58f0ee by Alexander Gavrilov (master) November 27, 2018, 06:31 (GMT) |
RNA: expose access to B-Bone shape data from Python. B-Bone shape is a non-trivial computation, so access to the results would be useful for Python scripts working with B-Bones, e.g. rig generation. This exposes both final segment matrices, and the tangent vectors computed from the custom handle bones. Since the handle tangents use the axis+roll orientation math of edit bones, add matrix conversion static methods to Bone. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D3983 |
Commit Details:
Full Hash: a58f0eea4f1e9b04e519e123eb656009cf718f9e
Parent Commit: fe65867
Lines Changed: +206, -55
5 Modified Paths:
/source/blender/blenkernel/BKE_armature.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/armature.c (+71, -53) (Diff)
/source/blender/blenkernel/intern/armature_update.c (+9, -2) (Diff)
/source/blender/makesrna/intern/rna_armature_api.c (+53, -0) (Diff)
/source/blender/makesrna/intern/rna_pose_api.c (+71, -0) (Diff)
/source/blender/blenkernel/intern/armature.c (+71, -53) (Diff)
/source/blender/blenkernel/intern/armature_update.c (+9, -2) (Diff)
/source/blender/makesrna/intern/rna_armature_api.c (+53, -0) (Diff)
/source/blender/makesrna/intern/rna_pose_api.c (+71, -0) (Diff)