Skip to content
Permalink
Browse files

showbase: fix BufferViewer error when opening window right away

  • Loading branch information...
rdb committed May 9, 2019
1 parent 33a9bbc commit e61043932922b993e418d32e73be3c438fac63e9
Showing with 2 additions and 1 deletion.
  1. +2 −1 direct/src/showbase/ShowBase.py
@@ -832,7 +832,8 @@ def _doOpenWindow(self, props = None, fbprops = None, pipe = None,
if self.win is None:
mainWindow = True
self.win = win
self.bufferViewer.win = win
if hasattr(self, 'bufferViewer'):
self.bufferViewer.win = win

self.winList.append(win)

0 comments on commit e610439

Please sign in to comment.
You can’t perform that action at this time.