BitmapCharacter.getCharacter() always null

BitmapCharacter.getCharacter() is currently useless since the BitmapFontLoader never populates the field. This patch fixes that.



[patch]Index: src/core-plugins/com/jme3/font/plugins/BitmapFontLoader.java

===================================================================

— src/core-plugins/com/jme3/font/plugins/BitmapFontLoader.java (revision 6462)

+++ src/core-plugins/com/jme3/font/plugins/BitmapFontLoader.java (revision )

@@ -125,7 +125,7 @@

String token = tokens;

if (token.equals("id")){

int index = Integer.parseInt(tokens);

  •                    ch = new BitmapCharacter();<br />
    
  •                    ch = new BitmapCharacter((char) index);<br />
    

charSet.addCharacter(index, ch);

}else if (token.equals("x")){

ch.setX(Integer.parseInt(tokens));

[/patch]

Thanks i’ll commit that tonight.