mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
don't include recordCreationStack in recorded creation stack
This commit is contained in:
parent
70076bfe26
commit
02183867c0
@ -2584,7 +2584,7 @@ def recordCreationStack(cls):
|
||||
raise 'recordCreationStack: class \'%s\' must define __init__' % cls.__name__
|
||||
cls.__moved_init__ = cls.__init__
|
||||
def __recordCreationStack_init__(self, *args, **kArgs):
|
||||
self._creationStackTrace = StackTrace()
|
||||
self._creationStackTrace = StackTrace(start=1)
|
||||
return self.__moved_init__(*args, **kArgs)
|
||||
def getCreationStackTrace(self):
|
||||
return self._creationStackTrace
|
||||
|
Loading…
x
Reference in New Issue
Block a user