diff options
author | Treeki <treeki@gmail.com> | 2011-11-30 18:18:03 +0100 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2011-11-30 18:18:03 +0100 |
commit | 717ac311420ecb3acea2a31214a79ab4411d0b6c (patch) | |
tree | 25696787eb9832dbdfc2e14cf600a93ff2654d2b | |
parent | 982998939f668571fbb33df759828119b7e6c473 (diff) | |
download | koopatlas-717ac311420ecb3acea2a31214a79ab4411d0b6c.tar.gz koopatlas-717ac311420ecb3acea2a31214a79ab4411d0b6c.zip |
fixed animation playback
Diffstat (limited to '')
-rw-r--r-- | src/editorui/editormain.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/editorui/editormain.py b/src/editorui/editormain.py index 4d8e1af..09bc4a3 100644 --- a/src/editorui/editormain.py +++ b/src/editorui/editormain.py @@ -32,7 +32,7 @@ class KPMapScene(QtGui.QGraphicsScene): for timeline in self.timeLines: timeline.start() - self.views()[0].update() + self.views()[0].viewport().update() else: self.playing = False @@ -41,12 +41,12 @@ class KPMapScene(QtGui.QGraphicsScene): for timeline in self.timeLines: timeline.stop() - self.views()[0].update() + self.views()[0].viewport().update() @QtCore.pyqtSlot(int) def thing(self, value): - self.views()[0].update() + self.views()[0].viewport().update() def drawBackground(self, painter, rect): |