mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-17 12:12:10 -04:00
whoops, important to default want-dev correctly based on __debug__
This commit is contained in:
parent
cf816c9885
commit
2a782774aa
@ -55,7 +55,7 @@ class ShowBase(DirectObject.DirectObject):
|
||||
notify = directNotify.newCategory("ShowBase")
|
||||
|
||||
def __init__(self, fStartDirect = True, windowType = None):
|
||||
self.__dev__ = config.GetBool('want-dev', True)
|
||||
self.__dev__ = config.GetBool('want-dev', __debug__)
|
||||
__builtin__.__dev__ = self.__dev__
|
||||
|
||||
logStackDump = (config.GetBool('log-stack-dump', False) or
|
||||
|
Loading…
x
Reference in New Issue
Block a user