Blender Git Loki

Git Commits -> Revision 18d4ad5

Revision 18d4ad5 by Alexander Gavrilov (master)
September 1, 2019, 11:13 (GMT)
Copy Rotation & Transform: add Euler order override options.

For reasons similar to drivers, it should be possible to set an
explicit Euler rotation order in constraints that use Euler angles.

The Transform constraint in a way approaches drivers in its use,
in that it effectively alters channels using values of other
channels after applying a fixed form mathematical expression.

For this reason, instead of just specifying the euler order for
its inputs, it uses the same enum as driver variables. However
Quaternion components are converted to a weighted pseudo-angle
representation as the rest of the constraint UI expects angles.

Commit Details:

Full Hash: 18d4ad5a59d32922f9d70b0412da0c830baceb17
Parent Commit: ae43b1d
Lines Changed: +154, -42

8 Modified Paths:

/release/scripts/startup/bl_ui/properties_constraint.py (+8, -0) (Diff)
/source/blender/blenkernel/BKE_fcurve.h (+3, -0) (Diff)
/source/blender/blenkernel/intern/constraint.c (+27, -10) (Diff)
/source/blender/blenkernel/intern/fcurve.c (+50, -18) (Diff)
/source/blender/makesdna/DNA_constraint_types.h (+23, -1) (Diff)
/source/blender/makesrna/intern/rna_constraint.c (+29, -0) (Diff)
/source/blender/makesrna/intern/rna_fcurve.c (+13, -13) (Diff)
/source/blender/makesrna/RNA_enum_types.h (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021