[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [39165] branches/soc-2011-pepper/source/ blender/collada/AnimationExporter.cpp: COLLADA Armature bake animation export fixed( needs more testing )

Sukhitha Jayathilake pr.jayathilake at gmail.com
Sun Aug 7 21:22:40 CEST 2011


Revision: 39165
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=39165
Author:   phabtar
Date:     2011-08-07 19:22:39 +0000 (Sun, 07 Aug 2011)
Log Message:
-----------
COLLADA Armature bake animation export fixed( needs more testing )

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

Modified: branches/soc-2011-pepper/source/blender/collada/AnimationExporter.cpp
===================================================================
--- branches/soc-2011-pepper/source/blender/collada/AnimationExporter.cpp	2011-08-07 18:57:39 UTC (rev 39164)
+++ branches/soc-2011-pepper/source/blender/collada/AnimationExporter.cpp	2011-08-07 19:22:39 UTC (rev 39165)
@@ -382,6 +382,10 @@
 			dae_baked_animation(fra ,values, id_name(ob_arm), bone->name );
 
 		}
+
+		if (flag & ARM_RESTPOS) 
+			arm->flag = flag;
+		where_is_pose(scene, ob_arm);
 	}
 
 	void AnimationExporter::sample_and_write_bone_animation(Object *ob_arm, Bone *bone, int transform_type)
@@ -458,7 +462,7 @@
 			return;
 
 		parchan = pchan->parent;
-
+        
 		enable_fcurves(ob_arm->adt->action, bone->name);
 
 		std::vector<float>::iterator it;




More information about the Bf-blender-cvs mailing list