瀏覽代碼

default mayChange = True

David Rose 17 年之前
父節點
當前提交
4d39d16a69
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      direct/src/gui/OnscreenText.py

+ 1 - 1
direct/src/gui/OnscreenText.py

@@ -36,7 +36,7 @@ class OnscreenText(DirectObject, NodePath):
                  font = None,
                  parent = None,
                  sort = 0,
-                 mayChange = 0):
+                 mayChange = True):
         """
         Make a text node from string, put it into the 2d sg and set it
         up with all the indicated parameters.