|
@@ -369,6 +369,10 @@ class ShowBase(DirectObject.DirectObject):
|
|
|
if self.windowType != 'none':
|
|
if self.windowType != 'none':
|
|
|
self.__doStartDirect()
|
|
self.__doStartDirect()
|
|
|
|
|
|
|
|
|
|
+ if self.config.GetBool('show-tex-mem', False):
|
|
|
|
|
+ if not self.texmem or self.texmem.cleanedUp:
|
|
|
|
|
+ self.toggleTexMem()
|
|
|
|
|
+
|
|
|
taskMgr.finalInit()
|
|
taskMgr.finalInit()
|
|
|
|
|
|
|
|
# Start IGLOOP
|
|
# Start IGLOOP
|
|
@@ -789,10 +793,6 @@ class ShowBase(DirectObject.DirectObject):
|
|
|
self.setFrameRateMeter(self.config.GetBool(
|
|
self.setFrameRateMeter(self.config.GetBool(
|
|
|
'show-frame-rate-meter', 0))
|
|
'show-frame-rate-meter', 0))
|
|
|
|
|
|
|
|
- if self.config.GetBool('show-tex-mem', False):
|
|
|
|
|
- if not self.texmem or self.texmem.cleanedUp:
|
|
|
|
|
- self.toggleTexMem()
|
|
|
|
|
-
|
|
|
|
|
return success
|
|
return success
|
|
|
|
|
|
|
|
def setSleep(self, amount):
|
|
def setSleep(self, amount):
|