change to insert_keyframe() so an array index of -1 keys all arrays indices
authorCampbell Barton <ideasman42@gmail.com>
Wed, 4 Nov 2009 14:06:10 +0000 (14:06 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 4 Nov 2009 14:06:10 +0000 (14:06 +0000)
commit42fb30f37aaca5c748654f75fdb70bcc91b240e2
tree5ae02be52caed1cc6abfdeaaebc24d382bf430d8
parent510aa6ba53e2808c02f078a525b91391c2ccce26
change to insert_keyframe() so an array index of -1 keys all arrays indices
made this default for python so you can do...
 pose_bone.keyframe_insert("location")

rather then
 pose_bone.keyframe_insert("location", 0)
 pose_bone.keyframe_insert("location", 1)
 pose_bone.keyframe_insert("location", 2)
source/blender/editors/animation/keyframing.c
source/blender/python/intern/bpy_rna.c