|
@@ -450,14 +450,15 @@ class ShowBase(DirectObject.DirectObject):
|
|
|
if self.oldexitfunc:
|
|
if self.oldexitfunc:
|
|
|
self.oldexitfunc()
|
|
self.oldexitfunc()
|
|
|
|
|
|
|
|
- def makeDefaultPipe(self):
|
|
|
|
|
|
|
+ def makeDefaultPipe(self, printPipeTypes = True):
|
|
|
"""
|
|
"""
|
|
|
Creates the default GraphicsPipe, which will be used to make
|
|
Creates the default GraphicsPipe, which will be used to make
|
|
|
windows unless otherwise specified.
|
|
windows unless otherwise specified.
|
|
|
"""
|
|
"""
|
|
|
assert self.pipe == None
|
|
assert self.pipe == None
|
|
|
selection = GraphicsPipeSelection.getGlobalPtr()
|
|
selection = GraphicsPipeSelection.getGlobalPtr()
|
|
|
- selection.printPipeTypes()
|
|
|
|
|
|
|
+ if printPipeTypes:
|
|
|
|
|
+ selection.printPipeTypes()
|
|
|
self.pipe = selection.makeDefaultPipe()
|
|
self.pipe = selection.makeDefaultPipe()
|
|
|
if not self.pipe:
|
|
if not self.pipe:
|
|
|
self.notify.error(
|
|
self.notify.error(
|