Paul makes me feel like less of a man <3

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9391 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
sky..ok 2012-05-18 17:50:47 +00:00
parent 6b91149956
commit bbf32420a2

View File

@ -112,9 +112,7 @@ public class BitmapText extends Node {
*/ */
public void setText(String text) { public void setText(String text) {
text = text == null ? "" : text; text = text == null ? "" : text;
if (block.getText().equals(text)) { if (!block.getText().equals(text)) {
return;
} else {
// If the text is empty, reset // If the text is empty, reset
if (text.isEmpty()) { if (text.isEmpty()) {
System.out.println("text is different"); System.out.println("text is different");