Blender Git Commit Log
Git Commits -> Revision 85b1b45
Revision 85b1b45 by Joshua Leung (master) May 8, 2011, 05:18 (GMT) |
RNA Bugfix: The following script would fail: #ob = bpy.context.active_object pb = bpy.context.active_pose_bone pb.bone.driver_add("hide") # <--- exception here The RNA-path function for Bone assumed that when it got called, it's "id_data" (or owner-idblock-pointer) would only be ID_AR (i.e. an armature). However, in the above example, pb.bone has ob as its id_data, resulting in an invalid RNA path getting created. Added check for this case, since it's likely to be common |
Commit Details:
Full Hash: 85b1b459ed43a5667880f102d433cb2ac3dce7be
SVN Revision: 36544
Parent Commit: 2aea765
Lines Changed: +14, -1
1 Modified Path:
/source/blender/makesrna/intern/rna_armature.c (+14, -1) (Diff)