Blender 2.5 Bake All Object's LOC/ROT/SCALE to fCurves

Hi All,

It seems like I saw this the other day, but I can not find this using the site search.

I am looking for a script that will make a f-curve for location, rotation and scale for all objects in the scene.

Thanks

Something like this?


bpy.ops.object.select_all(action="SELECT")
bpy.ops.anim.keyframe_insert(type="LocRotScale",confirm_success=False)

That is a bit different from what I remember seeing posted, but it just might work. I was constructing a separate f-curve for each axis, I did not realize you could specify a multiple type.

Thanks again!