Blender Git Commit Log

Git Commits -> Revision efde6ec

Revision efde6ec by Ton Roosendaal (master)
November 21, 2006, 10:52 (GMT)
Fix for commit from Brecht:

2006/11/19 00:07:32 CET
Fix for bug #5250: inaccurate conversion between edit and pose mode bones.

Two very bad bugs:
- replacing atan() with atan2() should also remove the M_PI correction!
This is the equivalent:
angle=atan(x/y); if(y<0) angle+=M_PI;
angle= atan2(x, y);

- the new NormalizedVecAngle2() call was negating an input vector, causing
calling code to screw up. All arithb.c calls should not alter input.

Commit Details:

Full Hash: efde6ecbc49dc44c0f2304ef67fc6ee1e399f0a4
SVN Revision: 8999
Parent Commit: 823e71e
Lines Changed: +14, -16

3 Modified Paths:

/source/blender/blenkernel/intern/armature.c (+4, -3) (Diff)
/source/blender/blenlib/intern/arithb.c (+6, -4) (Diff)
/source/blender/src/editarmature.c (+4, -9) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021