one pipe, multiple windows

This commit is contained in:
David Rose 2002-01-13 20:59:17 +00:00
parent e3d04fd248
commit f96387e291

View File

@ -183,16 +183,17 @@ class ShowBase:
of windows that are to be updated every frame.
"""
pipe = makeGraphicsPipe()
chanConfig = makeGraphicsWindow(pipe, self.render.arc())
win = chanConfig.getWin()
if self.pipe == None:
self.pipe = pipe
self.pipe = makeGraphicsPipe()
self.pipeList.append(self.pipe)
chanConfig = makeGraphicsWindow(self.pipe, self.render.arc())
win = chanConfig.getWin()
if self.win == None:
self.win = win
self.pipeList.append(pipe)
self.winList.append(win)
self.getCameras(chanConfig)