fixed messenger leak stack trace print

This commit is contained in:
Darren Ranalli 2008-04-09 01:18:54 +00:00
parent b0d980371c
commit 8e4ea9d011

View File

@ -656,7 +656,7 @@ def setGuiGridSpacing(spacing):
# production AI doesn't create any GUI. # production AI doesn't create any GUI.
if config.GetBool('record-gui-creation-stack', __debug__): if config.GetBool('record-gui-creation-stack', __debug__):
# this will help track down the code that created DirectGui objects # this will help track down the code that created DirectGui objects
# call obj.getCreationStackTrace() to figure out what code created it # call obj.printCreationStackTrace() to figure out what code created it
DirectGuiBase = recordCreationStackStr(DirectGuiBase) DirectGuiBase = recordCreationStackStr(DirectGuiBase)
class DirectGuiWidget(DirectGuiBase, NodePath): class DirectGuiWidget(DirectGuiBase, NodePath):