[committed]Fix to BoneTrack array overflow bug (OGRE XML importer)

Here's a bugfix to rarely occurring animation stopping bug in BoneTrack class in OGRE XML importer.



Here's the fix:



Index: BoneTrack.java
===================================================================
--- BoneTrack.java   (revision 4696)
+++ BoneTrack.java   (working copy)
@@ -117,7 +117,7 @@
         // by default the mode is to clamp for times beyond the current timeline
         if (time < times[0]){
             target.setAnimTransforms(translations[0], rotations[0]);
-        }else if (time > times[times.length-1]){
+        }else if (time >= times[times.length-1]){
             target.setAnimTransforms(translations[translations.length-1],
                                      rotations[rotations.length-1]);
         } else{