diff options
author | Sukhitha Prabhath Jayathilake <pr.jayathilake@gmail.com> | 2011-05-25 21:14:31 +0400 |
---|---|---|
committer | Sukhitha Prabhath Jayathilake <pr.jayathilake@gmail.com> | 2011-05-25 21:14:31 +0400 |
commit | 433cc155275f56d43e48bf410d487ab51cf597f0 (patch) | |
tree | 7b1a6dcd0b25928d822644a9d61158254f3aea64 /source/blender/collada/DocumentExporter.cpp | |
parent | 80e2f6c68ce3351f78c944a37557c969f9308a7a (diff) |
Code Cleanup in DocumentExporter.cpp. (Test Commit)
Diffstat (limited to 'source/blender/collada/DocumentExporter.cpp')
-rw-r--r-- | source/blender/collada/DocumentExporter.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source/blender/collada/DocumentExporter.cpp b/source/blender/collada/DocumentExporter.cpp index 00daac60281..bb0bc5e1e76 100644 --- a/source/blender/collada/DocumentExporter.cpp +++ b/source/blender/collada/DocumentExporter.cpp @@ -397,10 +397,14 @@ protected: { if (!ob_arm->adt) return; - + + //write bone animations for 3 transform types + //i=0 --> rotations + //i=1 --> scale + //i=2 --> location for (int i = 0; i < 3; i++) sample_and_write_bone_animation(ob_arm, bone, i); - + for (Bone *child = (Bone*)bone->childbase.first; child; child = child->next) write_bone_animation(ob_arm, child); } |