Blender Git Loki
Git Commits -> Revision 610c11e
Revision 610c11e by Alexander Gavrilov (temp-lanpr-staging) September 12, 2019, 01:13 (GMT) |
Copy Rotation: implement new mixing modes that actually work. Upon close inspection, the way the Offset mode works in the Copy Rotation constraint makes no sense, and in fact, destroys the rotation of its owner unless either it's single axis, or the order is set specifically to `ZYX Euler`. Since it can't simply be changed because of backward compatibility concerns, replace the checkbox with a dropdown that provides a set of new modes that actually make sense. Specifically, add a mode that simply adds Euler components together, and two options that use matrix multiplication in different order. The Python use_offset property is replaced with compatibility stubs. Reviewers: brecht Differential Revision: https://developer.blender.org/D5640 |
Commit Details:
Full Hash: 610c11e33aeacf1a1c105381719af49cefd1cff8
Parent Commit: 50db4b3
Committed By: YimingWu
Lines Changed: +169, -19
8 Modified Paths:
/release/scripts/startup/bl_ui/properties_constraint.py (+1, -1) (Diff)
/source/blender/blenkernel/intern/constraint.c (+53, -12) (Diff)
/source/blender/blenlib/BLI_math_matrix.h (+5, -1) (Diff)
/source/blender/blenlib/intern/math_matrix.c (+15, -1) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+23, -0) (Diff)
/source/blender/editors/transform/transform_convert.c (+2, -1) (Diff)
/source/blender/makesdna/DNA_constraint_types.h (+18, -1) (Diff)
/source/blender/makesrna/intern/rna_constraint.c (+52, -2) (Diff)
/source/blender/blenkernel/intern/constraint.c (+53, -12) (Diff)
/source/blender/blenlib/BLI_math_matrix.h (+5, -1) (Diff)
/source/blender/blenlib/intern/math_matrix.c (+15, -1) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+23, -0) (Diff)
/source/blender/editors/transform/transform_convert.c (+2, -1) (Diff)
/source/blender/makesdna/DNA_constraint_types.h (+18, -1) (Diff)
/source/blender/makesrna/intern/rna_constraint.c (+52, -2) (Diff)