Bug in Geometry

Hey guys, I don't know if anyone else has stumbled across this yet, but there seems to be a bug that just popped up after checking out the most recent code from CVS.  I was working on some stuff in jME-Physics and kept getting IndexOutOfBoundException because Geometry.getTextureBuffer() tries to get the first element of texBuf regardless of whether there is anything in the ArrayList to be gotten.  If I change the method to:

   public FloatBuffer getTextureBuffer() {
        if (texBuf.size() > 0) {
            return (FloatBuffer)texBuf.get(0);
        return null;

It works just fine for me.  If someone could make that fix and check it in I would appreciate it.



Fixed, thanks.