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:
parent
6b91149956
commit
bbf32420a2
@ -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");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user