OK, I’ve been able to narrow down the problem of the Constraint Baking scripts on my rig to two reproducible, sure to fail tests.
Background: I have been trying (unsuccessfully) to use Blender for animating game assets for a project I am involved in. Previously I believed this may have had something to do with the large BVH animation files I was importing and applying to my rig, but the following two tests have proven this false.
Test One:
- Load the file referenced at the end of the post into Blender 2.48a (latest version).
- Select the rig (or not, as it is already selected the .blend file)
- Change from “Pose Mode” to “Object Mode”
- In the “Scripts” window on the right - run the “Animation->Bake Constraints” script.
- Watch as Blender crashes
Test Two:
- Load the file referenced at the end of the post into Blender 2.48a (latest version).
- Scrub back and forth (using the up & down arrow keys) to note the IK animated bones moving the arms to the hips and back (very simple, three part position keyed animation)
- Leave the armature selection in “Pose Mode”
- In the “Scripts” window on the right - run the “Animation->Bake Constraints” script.
- When the script finishes (shouldn’t take long - it’s only 150 frames), scrub back and forth again (using the up & down arrow keys.
- Note the fact the IK “target” bones move, but the arms which followed previously no longer do so.
This is all from a clean (zip) install of Blender 2.48a and the rig file I reference below.
http://rapidshare.com/files/164204134/male_figure3.blend.html
If anyone can assist in either (a) verifying this or even better (b) helping fix this - I would be most grateful.
–Ben