Blender Git Loki
Git Commits -> Revision 928ba27
Revision 928ba27 by Joshua Leung (animsys2) November 1, 2008, 11:14 (GMT) |
AnimSys2: Bone Roll Issues In this commit, I've attempted to improve the situation of bone roll problems that occur with the recalculate bone roll tool, and also when extruding/moving bones under certain conditions. What's changed: * When transforming bones, as part of the recalculations done on every update, the roll of bones who have their tip selected will be recalculated using the 'z-axis up' method. Reported by Glenn Melenhorst on BA.org * Split the 'z-axis up' and 'align z-axis to cursor' roll recalculation methods into separate functions that can act as callbacks. Refactored the auto_align_armature() function to support this. It was needed for the first major change to occur. * As an experiment, I've changed the final step of the z-axis method to use mat3_to_vec_roll instead of atan2 directly. It currently seems to work better, but I'm not totally sure yet. Will check on this again another day... |
Commit Details:
Full Hash: 928ba2722e4368c5c1bf4b036f3e7d7b942bc524
SVN Revision: 17259
Parent Commit: 33c1ddd
Lines Changed: +105, -71