Browse Source

minor fix when specifying an explicit pipe

David Rose 14 years ago
parent
commit
60f62deed1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/showbase/ShowBase.py

+ 1 - 1
direct/src/showbase/ShowBase.py

@@ -784,7 +784,7 @@ class ShowBase(DirectObject.DirectObject):
             self.notify.info("Window did not open, removing.")
             self.closeWindow(self.win)
 
-        if self.win == None:
+        if self.win == None and not kw.get('pipe', None):
             # Try a little harder if the window wouldn't open.
             self.makeAllPipes()
             try: