Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2009-11-18 14:40:55 +0300
committerCampbell Barton <ideasman42@gmail.com>2009-11-18 14:40:55 +0300
commit67c295da9c471d5529398288f4b3ddc09a28b810 (patch)
treeca776357951967c5f50f4e263d1f1674a14ddd49 /source/blender/editors/screen
parent95229aa6f513e8346578836bc384bccd14b8c472 (diff)
rename pose_channels to bones
was: object.pose.pose_channels["Bone"] now: object.pose.bones["Bone"]
Diffstat (limited to 'source/blender/editors/screen')
-rw-r--r--source/blender/editors/screen/screen_context.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/screen/screen_context.c b/source/blender/editors/screen/screen_context.c
index f1bc313d609..1ddc19a5ec0 100644
--- a/source/blender/editors/screen/screen_context.c
+++ b/source/blender/editors/screen/screen_context.c
@@ -200,7 +200,7 @@ int ed_screen_context(const bContext *C, const char *member, bContextDataResult
for (pchan= obact->pose->chanbase.first; pchan; pchan= pchan->next) {
/* ensure that PoseChannel is on visible layer and is not hidden in PoseMode */
if ((pchan->bone) && (arm->layer & pchan->bone->layer) && !(pchan->bone->flag & BONE_HIDDEN_P)) {
- CTX_data_list_add(result, &obact->id, &RNA_PoseChannel, pchan);
+ CTX_data_list_add(result, &obact->id, &RNA_PoseBone, pchan);
}
}
@@ -216,7 +216,7 @@ int ed_screen_context(const bContext *C, const char *member, bContextDataResult
/* ensure that PoseChannel is on visible layer and is not hidden in PoseMode */
if ((pchan->bone) && (arm->layer & pchan->bone->layer) && !(pchan->bone->flag & BONE_HIDDEN_P)) {
if (pchan->bone->flag & BONE_SELECTED || pchan->bone == arm->act_bone)
- CTX_data_list_add(result, &obact->id, &RNA_PoseChannel, pchan);
+ CTX_data_list_add(result, &obact->id, &RNA_PoseBone, pchan);
}
}
@@ -245,7 +245,7 @@ int ed_screen_context(const bContext *C, const char *member, bContextDataResult
pchan= get_active_posechannel(obact);
if (pchan) {
- CTX_data_pointer_set(result, &obact->id, &RNA_PoseChannel, pchan);
+ CTX_data_pointer_set(result, &obact->id, &RNA_PoseBone, pchan);
return 1;
}
}