Fix waiting for wrong variable in waitForSwapThread

This commit is contained in:
David Vierra 2016-02-06 23:03:08 -10:00
parent 2be029047a
commit fbec27a9e0

View File

@ -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)