mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-19 13:15:00 -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")
|
notify = directNotify.newCategory("ShowBase")
|
||||||
|
|
||||||
def __init__(self, fStartDirect = True, windowType = None):
|
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__
|
__builtin__.__dev__ = self.__dev__
|
||||||
|
|
||||||
logStackDump = (config.GetBool('log-stack-dump', False) or
|
logStackDump = (config.GetBool('log-stack-dump', False) or
|
||||||
|
Loading…
x
Reference in New Issue
Block a user