Merge pull request #616 from gram526/patch-1
Play image along 't' axis instead of first axis
This commit is contained in:
commit
8ea3add281
@ -488,7 +488,7 @@ class ImageView(QtGui.QWidget):
|
|||||||
n = int(self.playRate * dt)
|
n = int(self.playRate * dt)
|
||||||
if n != 0:
|
if n != 0:
|
||||||
self.lastPlayTime += (float(n)/self.playRate)
|
self.lastPlayTime += (float(n)/self.playRate)
|
||||||
if self.currentIndex+n > self.image.shape[0]:
|
if self.currentIndex+n > self.image.shape[self.axes['t']]:
|
||||||
self.play(0)
|
self.play(0)
|
||||||
self.jumpFrames(n)
|
self.jumpFrames(n)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user