浏览代码

A small optimization. The BitmapTextPage does not
require custom updates so it now signifies that.

Paul Speed 9 年之前
父节点
当前提交
d57147e392
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      jme3-core/src/main/java/com/jme3/font/BitmapTextPage.java

+ 1 - 0
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.");