diff --git a/direct/src/showbase/ShowBase.py b/direct/src/showbase/ShowBase.py index 43c2fde666..57f3228897 100644 --- a/direct/src/showbase/ShowBase.py +++ b/direct/src/showbase/ShowBase.py @@ -450,14 +450,15 @@ class ShowBase(DirectObject.DirectObject): if self.oldexitfunc: self.oldexitfunc() - def makeDefaultPipe(self): + def makeDefaultPipe(self, printPipeTypes = True): """ Creates the default GraphicsPipe, which will be used to make windows unless otherwise specified. """ assert self.pipe == None selection = GraphicsPipeSelection.getGlobalPtr() - selection.printPipeTypes() + if printPipeTypes: + selection.printPipeTypes() self.pipe = selection.makeDefaultPipe() if not self.pipe: self.notify.error(