Merge -c 29322 from COLLADA branch into trunk.
authorArystanbek Dyussenov <arystan.d@gmail.com>
Mon, 7 Jun 2010 20:37:56 +0000 (20:37 +0000)
committerArystanbek Dyussenov <arystan.d@gmail.com>
Mon, 7 Jun 2010 20:37:56 +0000 (20:37 +0000)
source/blender/collada/DocumentExporter.cpp

index 01a41459a1d36c3fd14ef2803d82443db47b1a9c..7a994d6b41870e295536a8d4698a1c9d7a333858 100644 (file)
@@ -2482,6 +2482,9 @@ protected:
                                }
                        }
                }
+
+               // 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)