Blender Git Loki

Git Commits -> Revision 95d8cfc

Revision 95d8cfc by Campbell Barton (master)
November 25, 2010, 19:49 (GMT)
bugfix [#24907] bone roll z up broken and python script showing correct method to roll bones
from Josh Wedlake (joshwedlake), who provided a reference script used to apply changes in ED_rollBoneToVector().

- Obvious bug fixed where Z-Up didnt work right.
- More align axis options to Recalculate Roll operator: X/Y/Z/View Axis & Negate.
- Axis Only option, ignore the axis direction, use shortest rotation to align bones.


ED_rollBoneToVector() changes:
- would give bad roll when the axis wasn't normalized or perpendicular to the bone.
some callers accounted for this but not all.
- option to align to the axis but not the direction.

Commit Details:

Full Hash: 95d8cfc25df30adbb18437b8de0bc840797574ee
SVN Revision: 33316
Parent Commit: d2a2cab
Lines Changed: +112, -148

8 Modified Paths:

/source/blender/blenlib/BLI_math_vector.h (+7, -7) (Diff)
/source/blender/blenlib/intern/math_vector_inline.c (+7, -7) (Diff)
/source/blender/editors/armature/editarmature.c (+87, -110) (Diff)
/source/blender/editors/armature/editarmature_generate.c (+3, -9) (Diff)
/source/blender/editors/armature/editarmature_retarget.c (+4, -6) (Diff)
/source/blender/editors/include/ED_armature.h (+1, -1) (Diff)
/source/blender/editors/transform/transform_generics.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_armature_api.c (+2, -7) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021