mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
default functor creation stack recording off, it's slow
This commit is contained in:
parent
0d8b31f9a4
commit
e3b3ab1bbe
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user