瀏覽代碼

default want-variable-dump to 0

Darren Ranalli 17 年之前
父節點
當前提交
53b477ab6e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      direct/src/showbase/ShowBase.py

+ 1 - 1
direct/src/showbase/ShowBase.py

@@ -57,7 +57,7 @@ class ShowBase(DirectObject.DirectObject):
 
 
     def __init__(self):
     def __init__(self):
         __builtin__.__dev__ = config.GetBool('want-dev', 0)
         __builtin__.__dev__ = config.GetBool('want-dev', 0)
-        if config.GetBool('want-variable-dump', not __dev__):
+        if config.GetBool('want-variable-dump', 0):
             ExceptionVarDump.install()
             ExceptionVarDump.install()
 
 
         # Locate the directory containing the main program
         # Locate the directory containing the main program