mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
added default-directnotify-level
This commit is contained in:
parent
8ab8656e3e
commit
790eff0faa
@ -73,6 +73,11 @@ class DirectNotify:
|
||||
|
||||
dconfigParam = ("notify-level-" + categoryName)
|
||||
level = config.GetString(dconfigParam, "")
|
||||
|
||||
if not level:
|
||||
# see if there's an override of the default config level
|
||||
level = config.GetString('default-directnotify-level', '')
|
||||
|
||||
if level:
|
||||
print ("Setting DirectNotify category: " + categoryName +
|
||||
" to severity: " + level)
|
||||
|
Loading…
x
Reference in New Issue
Block a user