From bbf32420a2a0c1175602cfb4c95091127fd9ed30 Mon Sep 17 00:00:00 2001 From: "sky..ok" Date: Fri, 18 May 2012 17:50:47 +0000 Subject: [PATCH] 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 --- engine/src/core/com/jme3/font/BitmapText.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/engine/src/core/com/jme3/font/BitmapText.java b/engine/src/core/com/jme3/font/BitmapText.java index f440a19c1..d788985d1 100644 --- a/engine/src/core/com/jme3/font/BitmapText.java +++ b/engine/src/core/com/jme3/font/BitmapText.java @@ -112,9 +112,7 @@ public class BitmapText extends Node { */ public void setText(String text) { text = text == null ? "" : text; - if (block.getText().equals(text)) { - return; - } else { + if (!block.getText().equals(text)) { // If the text is empty, reset if (text.isEmpty()) { System.out.println("text is different");