Blender Git Commit Log

Git Commits -> Revision 89c7ad9

Revision 89c7ad9 by Campbell Barton (master)
October 30, 2009, 17:23 (GMT)
- setting the active object in rna works properly now (notifiers added)
- adding keyframes now works for bones and other data types (not just ID types)

# Add a pose bone keyframe
bpy.data.objects['Armature.001'].pose.pose_channels["Hip"].keyframe_insert("location")

# Add an object keyframe (worked before)
bpy.data.objects['Armature.001'].keyframe_insert("location")

Commit Details:

Full Hash: 89c7ad970c94372ea853fc9b3eb5a79566c93996
SVN Revision: 24184
Parent Commit: 3125850
Lines Changed: +35, -8

2 Modified Paths:

/source/blender/makesrna/intern/rna_scene.c (+3, -1) (Diff)
/source/blender/python/intern/bpy_rna.c (+32, -7) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021