[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [29322] branches/soc-2009-chingachgook/ source/blender/collada/DocumentExporter.cpp: COLLADA branch: keep bone animation sampling keys in ascending order.
Arystanbek Dyussenov
arystan.d at gmail.com
Mon Jun 7 22:19:09 CEST 2010
Revision: 29322
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=29322
Author: kazanbas
Date: 2010-06-07 22:19:09 +0200 (Mon, 07 Jun 2010)
Log Message:
-----------
COLLADA branch: keep bone animation sampling keys in ascending order.
Modified Paths:
--------------
branches/soc-2009-chingachgook/source/blender/collada/DocumentExporter.cpp
Modified: branches/soc-2009-chingachgook/source/blender/collada/DocumentExporter.cpp
===================================================================
--- branches/soc-2009-chingachgook/source/blender/collada/DocumentExporter.cpp 2010-06-07 20:08:03 UTC (rev 29321)
+++ branches/soc-2009-chingachgook/source/blender/collada/DocumentExporter.cpp 2010-06-07 20:19:09 UTC (rev 29322)
@@ -2478,6 +2478,9 @@
}
}
}
+
+ // keep the keys in ascending order
+ std::sort(fra.begin(), fra.end());
}
void find_rotation_frames(Object *ob, std::vector<float> &fra, const char *prefix, int rotmode)
More information about the Bf-blender-cvs
mailing list