Browse Source

default functor creation stack recording off, it's slow

Darren Ranalli 15 years ago
parent
commit
e3b3ab1bbe
1 changed files with 2 additions and 1 deletions
  1. 2 1
      direct/src/showbase/PythonUtil.py

+ 2 - 1
direct/src/showbase/PythonUtil.py

@@ -3934,7 +3934,8 @@ def recordFunctorCreationStacks():
     global Functor
     from pandac.PandaModules import getConfigShowbase
     config = getConfigShowbase()
-    if __dev__ and config.GetBool('record-functor-creation-stacks', 1):
+    # off by default, very slow
+    if __dev__ and config.GetBool('record-functor-creation-stacks', 0):
         if not hasattr(Functor, '_functorCreationStacksRecorded'):
             Functor = recordCreationStackStr(Functor)
             Functor._functorCreationStacksRecorded = True