From a7df865ca53edff47158ee807ba96a7110d820fa Mon Sep 17 00:00:00 2001 From: rdb Date: Thu, 11 Dec 2008 15:53:00 +0000 Subject: [PATCH] Ability to suppress pipe info --- direct/src/showbase/ShowBase.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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(