From 308e88fd213bfdfb33f7c5dafff3ae796db8e293 Mon Sep 17 00:00:00 2001 From: Paul Speed Date: Mon, 1 Dec 2014 03:12:38 -0500 Subject: [PATCH] Fixed what I'm pretty sure is a typo. I didn't test it but I can see no reason to clear the refresh flag on these methods but setting it seems entirely logical. --- jme3-core/src/main/java/com/jme3/font/BitmapText.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jme3-core/src/main/java/com/jme3/font/BitmapText.java b/jme3-core/src/main/java/com/jme3/font/BitmapText.java index 5d2ca169b..913bfe13a 100644 --- a/jme3-core/src/main/java/com/jme3/font/BitmapText.java +++ b/jme3-core/src/main/java/com/jme3/font/BitmapText.java @@ -352,7 +352,7 @@ public class BitmapText extends Node { public void setTabPosition(float... tabs) { block.setTabPosition(tabs); letters.invalidate(); - needRefresh = false; + needRefresh = true; } /** @@ -362,7 +362,7 @@ public class BitmapText extends Node { public void setTabWidth(float width) { block.setTabWidth(width); letters.invalidate(); - needRefresh = false; + needRefresh = true; } /** @@ -373,7 +373,7 @@ public class BitmapText extends Node { public void setEllipsisChar(char c) { block.setEllipsisChar(c); letters.invalidate(); - needRefresh = false; + needRefresh = true; } /**