Fix waiting for wrong variable in waitForSwapThread
This commit is contained in:
parent
2be029047a
commit
fbec27a9e0
@ -189,7 +189,7 @@ class WorldView(QGLWidget):
|
||||
self.setDimension(dimension)
|
||||
|
||||
def waitForSwapThread(self):
|
||||
while not self.shouldRender:
|
||||
while not self.bufferSwapDone:
|
||||
QtGui.QApplication.processEvents(QtCore.QEventLoop.ExcludeUserInputEvents)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user