Blender Git Loki

Git Commits -> Revision a6c4e39

Revision a6c4e39 by Henrik Dick (master)
December 3, 2020, 10:20 (GMT)
Add Custom Object Space to Constraints

Add Custom Space to the list of space conversions for constraints.

Constraints can use World Space, Local Space, Pose Space, Local with
Parent, and now also Custom Space with a custom object to define the
evaluation space.

The Custom Space option uses the Local Space of an other
object/bone/vertex group. If selected on owner or target it will show a
box for object selection. If an armature is selected, then it will also
show a box for bone selection. If a mesh object is selected it will show
the option for using the local space of a vertex group.

Reviewed By: #animation_rigging, sybren, Severin, angavrilov

Differential Revision: https://developer.blender.org/D7437

Commit Details:

Full Hash: a6c4e39876d8a0765290312f6d8c0175274114cd
Parent Commit: 899dcc5
Committed By: Sybren A. Stüvel
Lines Changed: +398, -95

9 Modified Paths:

/release/scripts/startup/bl_ui/properties_constraint.py (+16, -7) (Diff)
/source/blender/blenkernel/BKE_constraint.h (+4, -0) (Diff)
/source/blender/blenkernel/intern/constraint.c (+228, -76) (Diff)
/source/blender/blenkernel/intern/fcurve_driver.c (+4, -4) (Diff)
/source/blender/editors/armature/armature_add.c (+13, -4) (Diff)
/source/blender/makesdna/DNA_constraint_types.h (+10, -3) (Diff)
/source/blender/makesrna/intern/rna_constraint.c (+29, -0) (Diff)
/source/blender/makesrna/intern/rna_object_api.c (+20, -1) (Diff)
/tests/python/bl_constraints.py (+74, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021