diff options
author | Arystanbek Dyussenov <arystan.d@gmail.com> | 2009-11-22 16:51:29 +0300 |
---|---|---|
committer | Arystanbek Dyussenov <arystan.d@gmail.com> | 2009-11-22 16:51:29 +0300 |
commit | 851201353621d053552dda1e92bf3f7d305e30f0 (patch) | |
tree | e0b4d233647ecbf4136df5bd33a69612a63415d5 /source/blender/collada/DocumentImporter.cpp | |
parent | b91beefdb7f2def2fa7a0a18bc39902c45c72076 (diff) | |
parent | 8b84cc2ab65790604722eeaba89a34095d2e7259 (diff) |
COLLADA branch: merge from trunk -r 24522:24758.
Diffstat (limited to 'source/blender/collada/DocumentImporter.cpp')
-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] = { |