BufferViewer needs to be enabled in Config.prc with 'show-buffers'

This commit is contained in:
Josh Wilson 2006-05-07 22:54:43 +00:00
parent bc1570ce98
commit 61f1eb930b
1 changed files with 2 additions and 1 deletions

View File

@ -280,7 +280,8 @@ class ShowBase(DirectObject.DirectObject):
self.multiClientSleep = 0
# Offscreen buffer viewing utility.
self.bufferViewer = BufferViewer()
if self.config.GetBool('show-buffers', 0):
self.bufferViewer = BufferViewer()
# Start Tk and DIRECT if specified by Config.prc
fTk = self.config.GetBool('want-tk', 0)