diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-11-18 14:40:55 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-11-18 14:40:55 +0300 |
commit | 67c295da9c471d5529398288f4b3ddc09a28b810 (patch) | |
tree | ca776357951967c5f50f4e263d1f1674a14ddd49 /source/blender/editors/armature | |
parent | 95229aa6f513e8346578836bc384bccd14b8c472 (diff) |
rename pose_channels to bones
was: object.pose.pose_channels["Bone"]
now: object.pose.bones["Bone"]
Diffstat (limited to 'source/blender/editors/armature')
-rw-r--r-- | source/blender/editors/armature/editarmature.c | 2 | ||||
-rw-r--r-- | source/blender/editors/armature/poseSlide.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/armature/editarmature.c b/source/blender/editors/armature/editarmature.c index a695095f133..320be365631 100644 --- a/source/blender/editors/armature/editarmature.c +++ b/source/blender/editors/armature/editarmature.c @@ -5411,7 +5411,7 @@ void ED_armature_bone_rename(bArmature *arm, char *oldnamep, char *newnamep) // TODO: should we be using the database wide version instead (since drivers may break) if (ob->adt) { /* posechannels only... */ - BKE_animdata_fix_paths_rename(&ob->id, ob->adt, "pose.pose_channels", oldname, newname); + BKE_animdata_fix_paths_rename(&ob->id, ob->adt, "pose.bones", oldname, newname); } } } diff --git a/source/blender/editors/armature/poseSlide.c b/source/blender/editors/armature/poseSlide.c index eb15d00c8ce..ac4cfd2c3e3 100644 --- a/source/blender/editors/armature/poseSlide.c +++ b/source/blender/editors/armature/poseSlide.c @@ -195,7 +195,7 @@ static int pose_slide_init (bContext *C, wmOperator *op, short mode) pfl->pchan= pchan; /* get the RNA path to this pchan - this needs to be freed! */ - RNA_pointer_create((ID *)pso->ob, &RNA_PoseChannel, pchan, &ptr); + RNA_pointer_create((ID *)pso->ob, &RNA_PoseBone, pchan, &ptr); pfl->pchan_path= RNA_path_from_ID_to_struct(&ptr); /* add linkage data to operator data */ |