Blender Git Commit Log
Git Commits -> Revision f4056e9
Revision f4056e9 by Alexander Gavrilov (master) September 6, 2019, 04:57 (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: f4056e9ec3a89afbc592af3e3d169d2d584a9937
Parent Commit: 9972d6c
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)