mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
explicitly instantiate notify category
This commit is contained in:
parent
3bef83d72a
commit
e10ca3fdb3
@ -376,6 +376,9 @@ MemoryUsage(const MemoryHook ©) : MemoryHook(copy) {
|
|||||||
// messages.
|
// messages.
|
||||||
_startup_track_memory_usage = _track_memory_usage;
|
_startup_track_memory_usage = _track_memory_usage;
|
||||||
|
|
||||||
|
// Make sure the express category has been instantiated.
|
||||||
|
express_cat->is_info();
|
||||||
|
|
||||||
_report_memory_usage = ConfigVariableBool
|
_report_memory_usage = ConfigVariableBool
|
||||||
("report-memory-usage", false,
|
("report-memory-usage", false,
|
||||||
PRC_DESC("Set this true to enable automatic reporting of allocated objects "
|
PRC_DESC("Set this true to enable automatic reporting of allocated objects "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user