[Committed] OgreXML Single Animation Blending Bug

So in reply to this thread: http://www.jmonkeyengine.com/forum/index.php?topic=13285 There was a bug that was found which I originally forgot to implement when I added multiple animations to OgreXML.  It is for blending of single animations when animationController.setAnimation() is called.  This is a quick fix, the only minor problem with it is support for blending from a single animation to multiple or vice-versus is unsupported, but it was never supported anyway, and would take a different design of the ogrexml animation system to be implemented.  Here’s the diff of com.jmex.model.ogrexml.anim.MeshAnimationController.java:

@@ -181,10 +181,15 @@
             return true;
+        AnimationChannel animationChannel;
+        if (animations.size() == 0) {
+           animationChannel = new AnimationChannel(this);
+        } else {
+           animationChannel = animations.get(0);
+        }
-        AnimationChannel animationChannel = new AnimationChannel(this);
         Animation animation = animationMap.get(name);
         if (animation == null)

This will be committed in a week if no one objects.

Sorry for the wait.  It’s committed!

r4893 http://code.google.com/p/jmonkeyengine/source/detail?r=4893