mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
fixed messenger leak stack trace print
This commit is contained in:
parent
b0d980371c
commit
8e4ea9d011
@ -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):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user