Blender Git Loki
Git Commits -> Revision 9b73791
Revision 9b73791 by Alexander Gavrilov December 1, 2020, 18:31 (GMT) |
Constraints: add support for a new Owner Local Space for targets. Add a new transformation space choice for bone constraints, which represent the local transformation of the bone in the constraint owner's local space. The use case for this is transferring the local (i.e. excluding the effect of parents) transformation of one bone to another one, while ignoring the difference between their rest pose orientations. Owner Local Space replaces the following setup: * A `child` bone of the `target`, rotated the same as `owner` in rest pose. * A `sibling` bone of the `target`, positioned same as `child` in rest pose and using Copy Transforms in World Space from `child`. * The `owner` bone constraint uses Local Space of `sibling`. Differential Revision: https://developer.blender.org/D9493 |
Commit Details:
Full Hash: 9b73791d8d7ea45f7de83825e4bdabcd50d608d0
Parent Commit: 76dece2
Lines Changed: +46, -11
5 Modified Paths:
/source/blender/blenkernel/intern/constraint.c (+31, -5) (Diff)
/source/blender/editors/armature/armature_add.c (+4, -6) (Diff)
/source/blender/makesdna/DNA_constraint_types.h (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_constraint.c (+6, -0) (Diff)
/source/blender/makesrna/intern/rna_object_api.c (+3, -0) (Diff)
/source/blender/editors/armature/armature_add.c (+4, -6) (Diff)
/source/blender/makesdna/DNA_constraint_types.h (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_constraint.c (+6, -0) (Diff)
/source/blender/makesrna/intern/rna_object_api.c (+3, -0) (Diff)