[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [47626] branches/soc-2012-bratwurst/source /blender/collada: Bake Object Animation export Fix.
Sukhitha Jayathilake
pr.jayathilake at gmail.com
Fri Jun 8 21:24:11 CEST 2012
Revision: 47626
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=47626
Author: phabtar
Date: 2012-06-08 19:24:11 +0000 (Fri, 08 Jun 2012)
Log Message:
-----------
Bake Object Animation export Fix.
Modified Paths:
--------------
branches/soc-2012-bratwurst/source/blender/collada/AnimationExporter.cpp
branches/soc-2012-bratwurst/source/blender/collada/AnimationExporter.h
Modified: branches/soc-2012-bratwurst/source/blender/collada/AnimationExporter.cpp
===================================================================
--- branches/soc-2012-bratwurst/source/blender/collada/AnimationExporter.cpp 2012-06-08 19:21:12 UTC (rev 47625)
+++ branches/soc-2012-bratwurst/source/blender/collada/AnimationExporter.cpp 2012-06-08 19:24:11 UTC (rev 47626)
@@ -152,7 +152,7 @@
dae_baked_object_animation(fra, ob);
}
-void AnimationExporter::make_anim_frames_from_targets(Object *ob, std::vector<float> frames ){
+void AnimationExporter::make_anim_frames_from_targets(Object *ob, std::vector<float> &frames ){
ListBase *conlist = get_active_constraints(ob);
if(conlist == NULL) return;
bConstraint *con;
@@ -898,7 +898,7 @@
j++;
}
- enable_fcurves(ob->adt->action, NULL);
+ //enable_fcurves(ob->adt->action, NULL);
source.finish();
Modified: branches/soc-2012-bratwurst/source/blender/collada/AnimationExporter.h
===================================================================
--- branches/soc-2012-bratwurst/source/blender/collada/AnimationExporter.h 2012-06-08 19:21:12 UTC (rev 47625)
+++ branches/soc-2012-bratwurst/source/blender/collada/AnimationExporter.h 2012-06-08 19:24:11 UTC (rev 47626)
@@ -160,7 +160,7 @@
void find_frames(Object *ob, std::vector<float> &fra, const char *prefix, const char *tm_name);
void find_frames(Object *ob, std::vector<float> &fra);
- void make_anim_frames_from_targets(Object *ob, std::vector<float> frames );
+ void make_anim_frames_from_targets(Object *ob, std::vector<float> &frames );
void find_rotation_frames(Object *ob, std::vector<float> &fra, const char *prefix, int rotmode);
More information about the Bf-blender-cvs
mailing list