diff options
author | Sukhitha Prabhath Jayathilake <pr.jayathilake@gmail.com> | 2011-06-28 23:30:00 +0400 |
---|---|---|
committer | Sukhitha Prabhath Jayathilake <pr.jayathilake@gmail.com> | 2011-06-28 23:30:00 +0400 |
commit | caef67eb923e37accdbb0664f90c99fe928406c2 (patch) | |
tree | 62eb2929332b09983e0f55385a2630dd4c5a2b73 /source/blender/collada/AnimationImporter.cpp | |
parent | 0b41c479e46399a63d2cae5506325950842dc787 (diff) |
Set Edit bone roll on Armature Import.
+ Light->Color Sid for testing.
Diffstat (limited to 'source/blender/collada/AnimationImporter.cpp')
-rw-r--r-- | source/blender/collada/AnimationImporter.cpp | 31 |
1 files changed, 1 insertions, 30 deletions
diff --git a/source/blender/collada/AnimationImporter.cpp b/source/blender/collada/AnimationImporter.cpp index 3b33ad0dee6..bb11f815b40 100644 --- a/source/blender/collada/AnimationImporter.cpp +++ b/source/blender/collada/AnimationImporter.cpp @@ -776,36 +776,7 @@ void AnimationImporter::translate_Animations_NEW ( COLLADAFW::Node * node , ob->rotmode = ROT_MODE_EUL; } } - // if (is_joint) - //{ - // float mat[4][4]; - // float obmat[4][4]; - - // // object-space - // get_node_mat(obmat, node, NULL, NULL); - // bPoseChannel *chan = get_pose_channel(ob->pose, bone_name); - // - // bArmature * arm = (bArmature *) ob->data; - // - // Bone *cur = get_named_bone( arm , bone_name ); - - // if (cur->parent){ - // COLLADAFW::Node * parent = armature_importer->joint_parent_map.find(node->getUniqueId()); - // float[4][4] parent_mat; - // get_node_mat ( parent_mat, parent, NULL, NULL ); - // mul_m4_m4m4(mat, obmat, parent_mat); - // bPoseChannel *parchan = get_pose_channel(ob->pose, cur->parent->name); - // if ( parchan && chan) - // mul_m4_m4m4(pchan->pose_mat, mat , parchan->pose_mat); - // } - // else { - // copy_m4_m4(mat, obmat); - // float invObmat[4][4]; - // invert_m4_m4(invObmat, ob->obmat); - // if(pchan) - // mul_m4_m4m4(pchan->pose_mat, mat, invObmat); - // } - //} + } } |