Revision: 36898
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36898
Author:   phabtar
Date:     2011-05-25 17:14:31 +0000 (Wed, 25 May 2011)
Log Message:
-----------
Code Cleanup in DocumentExporter.cpp. (Test Commit)

Modified Paths:
--------------
    branches/soc-2011-pepper/source/blender/collada/DocumentExporter.cpp

Modified: branches/soc-2011-pepper/source/blender/collada/DocumentExporter.cpp
===================================================================
--- branches/soc-2011-pepper/source/blender/collada/DocumentExporter.cpp        
2011-05-25 15:23:18 UTC (rev 36897)
+++ branches/soc-2011-pepper/source/blender/collada/DocumentExporter.cpp        
2011-05-25 17:14:31 UTC (rev 36898)
@@ -397,10 +397,14 @@
        {
                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);
        }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to