Force view redraw when center pos changes

Updates minimap when turning camera
This commit is contained in:
David Vierra 2015-01-20 10:41:09 -10:00
parent 66e941e1d5
commit 7c46cfa7dd

View File

@ -291,6 +291,7 @@ class WorldView(QGLWidget):
# delta = self.viewCenter() - self.centerPoint
# self.centerPoint = pos - delta
self.centerPoint = pos
self.update()
def viewCenter(self):
"""Return the world position at the center of the view."""