diff options
Diffstat (limited to 'source/blender/blenkernel/intern/ipo.c')
-rw-r--r-- | source/blender/blenkernel/intern/ipo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/ipo.c b/source/blender/blenkernel/intern/ipo.c index 9e9a1719952..18a8210c68d 100644 --- a/source/blender/blenkernel/intern/ipo.c +++ b/source/blender/blenkernel/intern/ipo.c @@ -919,11 +919,11 @@ static char *get_rna_access (int blocktype, int adrcode, char actname[], char co /* append preceeding bits to path */ if ((actname && actname[0]) && (constname && constname[0])) { /* Constraint in Pose-Channel */ - sprintf(buf, "pose.pose_channels[\"%s\"].constraints[\"%s\"]", actname, constname); + sprintf(buf, "pose.bones[\"%s\"].constraints[\"%s\"]", actname, constname); } else if (actname && actname[0]) { /* Pose-Channel */ - sprintf(buf, "pose.pose_channels[\"%s\"]", actname); + sprintf(buf, "pose.bones[\"%s\"]", actname); } else if (constname && constname[0]) { /* Constraint in Object */ |