From d57147e3929f35c49fcefcc29cab08263c761a33 Mon Sep 17 00:00:00 2001 From: Paul Speed Date: Tue, 17 Nov 2015 02:39:46 -0500 Subject: [PATCH] A small optimization. The BitmapTextPage does not require custom updates so it now signifies that. --- jme3-core/src/main/java/com/jme3/font/BitmapTextPage.java | 1 + 1 file changed, 1 insertion(+) diff --git a/jme3-core/src/main/java/com/jme3/font/BitmapTextPage.java b/jme3-core/src/main/java/com/jme3/font/BitmapTextPage.java index 1edac967c..58dc87550 100644 --- a/jme3-core/src/main/java/com/jme3/font/BitmapTextPage.java +++ b/jme3-core/src/main/java/com/jme3/font/BitmapTextPage.java @@ -59,6 +59,7 @@ class BitmapTextPage extends Geometry { BitmapTextPage(BitmapFont font, boolean arrayBased, int page) { super("BitmapFont", new Mesh()); + setRequiresUpdates(false); setBatchHint(BatchHint.Never); if (font == null) { throw new IllegalArgumentException("font cannot be null.");