mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
make gcDebugOn look at DEBUG_SAVEALL specifically
This commit is contained in:
parent
d9affd78e0
commit
1ace31262d
@ -1984,7 +1984,7 @@ def printListEnum(l):
|
|||||||
|
|
||||||
def gcDebugOn():
|
def gcDebugOn():
|
||||||
import gc
|
import gc
|
||||||
return (gc.get_debug() & gc.DEBUG_LEAK) == gc.DEBUG_LEAK
|
return (gc.get_debug() & gc.DEBUG_SAVEALL) == gc.DEBUG_SAVEALL
|
||||||
|
|
||||||
import __builtin__
|
import __builtin__
|
||||||
__builtin__.Functor = Functor
|
__builtin__.Functor = Functor
|
||||||
|
Loading…
x
Reference in New Issue
Block a user