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/collada | |
parent | 95229aa6f513e8346578836bc384bccd14b8c472 (diff) |
rename pose_channels to bones
was: object.pose.pose_channels["Bone"]
now: object.pose.bones["Bone"]
Diffstat (limited to 'source/blender/collada')
-rw-r--r-- | source/blender/collada/DocumentImporter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/collada/DocumentImporter.cpp b/source/blender/collada/DocumentImporter.cpp index f03ac47effd..83f0debb60d 100644 --- a/source/blender/collada/DocumentImporter.cpp +++ b/source/blender/collada/DocumentImporter.cpp @@ -989,7 +989,7 @@ public: void get_rna_path_for_joint(COLLADAFW::Node *node, char *joint_path, size_t count) { - BLI_snprintf(joint_path, count, "pose.pose_channels[\"%s\"]", get_joint_name(node)); + BLI_snprintf(joint_path, count, "pose.bones[\"%s\"]", get_joint_name(node)); } void fix_animation() @@ -1979,7 +1979,7 @@ public: return true; } - // for bones rna_path is like: pose.pose_channels["bone-name"].rotation + // for bones rna_path is like: pose.bones["bone-name"].rotation // what does this AnimationList animate? Animation& animated = uid_animated_map[anim_list_id]; @@ -2165,7 +2165,7 @@ public: char joint_path[100]; char rna_path[100]; - BLI_snprintf(joint_path, sizeof(joint_path), "pose.pose_channels[\"%s\"]", grp->name); + BLI_snprintf(joint_path, sizeof(joint_path), "pose.bones[\"%s\"]", grp->name); BLI_snprintf(rna_path, sizeof(rna_path), "%s.rotation_euler", joint_path); FCurve *quatcu[4] = { |