[Bf-blender-cvs] CVS commit: blender/source/blender/blenlib BLI_arithb.h blender/source/blender/blenlib/intern arithb.c blender/source/blender/src transform.c
Ton Roosendaal
ton at blender.org
Sun Aug 13 12:03:07 CEST 2006
ton (Ton Roosendaal) 2006/08/13 12:03:07 CEST
Modified files:
blender/source/blender/blenlib BLI_arithb.h
blender/source/blender/blenlib/intern arithb.c
blender/source/blender/src transform.c
Log:
Bugfix #4843 revisited
This is a new incarnation of compatible_eul(), a function called:
void Mat3ToCompatibleEul(float mat[][3], float *eul, float *oldrot)
It uses the two euler extraction methods as added by Brecht a while ago,
and checks for compatibility each, and then picks the best of the two
based on minimal difference with 'oldrot'.
Gives for rotation key inserting a much higher hitrate for OK eulers.
Revision Changes Path
1.26 +4 -6 blender/source/blender/blenlib/BLI_arithb.h
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/blenlib/BLI_arithb.h.diff?r1=1.25&r2=1.26&cvsroot=bf-blender>
1.40 +46 -44 blender/source/blender/blenlib/intern/arithb.c
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/blenlib/intern/arithb.c.diff?r1=1.39&r2=1.40&cvsroot=bf-blender>
1.143 +5 -7 blender/source/blender/src/transform.c
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/transform.c.diff?r1=1.142&r2=1.143&cvsroot=bf-blender>
More information about the Bf-blender-cvs
mailing list