Blender Git Loki
Git Commits -> Revision 1ce73aa
Revision 1ce73aa by Joshua Leung (blender-v2.76-release, blender-v2.76a-release, fracture_modifier, fracture_modifier-master, temp-fracture-modifier-2.8) October 29, 2015, 10:10 (GMT) |
Fix T46599: Copy Rotation behaves erratically when Use Y is disabled When the "Use Y" option in the Copy Rotation constraint is disabled, the constraint behaves eratically when rotating all the target on all axes at the same time. This is partially to be expected due to the way that euler rotations work (i.e. the rotation orders stuff - you should use a rotation order based on most to least important/significant rotations). Hence, by locking Y, you're causing accuracy problems for Z. What was not expected though was that changing the rotation orders on the objects involved (for the record, it's the constraint owner that counts) did nothing. It turns out that for objects, the rotation order settings were getting ignored! This commit fixes this problem, and this particular case can be resolved by using "XZY". Notes: * Since all object constraints were previously working on the assumption that they used XYZ (default) order, it is possible that this change may have the unintended consequence of changing the behaviour of some rigs which relied on the buggy behaviour. Hopefully this will be a rare occurrence. |
Commit Details:
Full Hash: 1ce73aa72b5553f376db4d38fac2213753213bd8
Parent Commit: 4081dab
Committed By: Campbell Barton
Lines Changed: +14, -1
1 Modified Path:
/source/blender/blenkernel/intern/constraint.c (+14, -1) (Diff)