tornavis/source
Campbell Barton 48614fbc2a Added an assert() check for normalized quats which exposed a number of bugs where normalized quat was incorrectly assumed.
This would have made bug #25003 very simple to find.

- Objects had their quats normalized when calculating their matrix, this is inconstant with pose bones and isn't useful for animation.
  Also it wasn't normalizing the delta rotation so these would give bad rotations.

- Converting between rotation modes BKE_rotMode_change_values() assumed normal length quat. changing quat to euler rotation for eg could change the bone.

- Clear rotation and transform were not normalizing the quat when 4d loc was disabled on quat rotation, corrected and also made it so the quat scale is restored after conversion so animations curves dont jump.

There is 1 case in mat3_to_quat_is_ok() where quat_to_mat3 on an unnormalized quat is needed, for this I had to add an ugly static function quat_to_mat3_no_assert(), but overall its worthwhile IMHO to be able to find incorrect use of rotation conversion.
2010-12-07 01:56:32 +00:00
..
blender Added an assert() check for normalized quats which exposed a number of bugs where normalized quat was incorrectly assumed. 2010-12-07 01:56:32 +00:00
blenderplayer CMake: use a global list to store libraries built rather then cmake_blender_libs.txt file. 2010-12-06 10:56:37 +00:00
creator CMake: use a global list to store libraries built rather then cmake_blender_libs.txt file. 2010-12-06 10:56:37 +00:00
darwin darwin Makefiles: copy release scripts and python modules to where blender looks for them, 2010-10-14 19:30:55 +00:00
gameengine BGE BugFix: [#21246] Some values for ipoactuator.frameEnd and frameStart make ipo not play the first time 2010-12-07 01:54:25 +00:00
icons Windows Icons: 2010-09-05 07:08:21 +00:00
kernel include headers in cmake source, added a script to check for consistency, reporting missing headers & C files. 2010-11-29 04:35:56 +00:00
CMakeLists.txt dont build blender/kernel if the game engines disabled. 2010-10-31 00:56:46 +00:00
Makefile Reorder library linking. 2010-11-11 06:22:55 +00:00
SConscript dont build blender/kernel if the game engines disabled. 2010-10-31 00:56:46 +00:00