diff --git a/direct/src/showbase/ShowBase.py b/direct/src/showbase/ShowBase.py index 8a914fd12d..447eb2a116 100644 --- a/direct/src/showbase/ShowBase.py +++ b/direct/src/showbase/ShowBase.py @@ -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