[Bf-blender-cvs] CVS commit: blender/source/blender/src editipo.c
Joshua Leung
aligorith at gmail.com
Mon Jan 15 02:56:58 CET 2007
aligorith (Joshua Leung) 2007/01/15 02:56:58 CET
Modified files:
blender/source/blender/src editipo.c
Log:
== VisualRot Keyframing ==
After extensive testing, I've concluded that VisualRot keyframing
didn't work at all for bones. On the other hand, VisualRot for Objects
worked fine. Now I've come up with a fix, which should make this
actually work for IK/FK switching (I hope).
The fix I'm committing is slightly hacky as it tempolarily overwrites the
bone's rotation/quat values with the 'visual' ones, inserts keyframes,
then resets the values it wrote on before.
This hack was needed as for some strange reason, the values being
added as keyframes were not the ones that had been derived. Note
that on some bones, there will be a little bit of strange rotation after
frame changes while their constraints are left on.
Revision Changes Path
1.127 +25 -6 blender/source/blender/src/editipo.c
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/editipo.c.diff?r1=1.126&r2=1.127&cvsroot=bf-blender>
More information about the Bf-blender-cvs
mailing list