Fix T38157: Rigid body, crazy f-curves after bake to keyframes
authorJoshua Leung <aligorith@gmail.com>
Fri, 17 Jan 2014 12:38:20 +0000 (01:38 +1300)
committerJoshua Leung <aligorith@gmail.com>
Fri, 17 Jan 2014 12:38:40 +0000 (01:38 +1300)
commit4c89a658be3c2ec581c78d44561a1f5865066a8d
tree0d2d7ada36197cec47c23aab73565af162a26acf
parent929fb8324bcc6c7090ef898c5092363daee46d97
Fix T38157: Rigid body, crazy f-curves after bake to keyframes

A logic error meant that the wrong "previous rotation" values were being used
when decomposing the rigidbody results back to transform channels. Instead of
using the previous values for the object in question, it was actually using
the rotation value of the previous object that was evaluated.
release/scripts/startup/bl_operators/rigidbody.py