|
|
@ -104,7 +104,7 @@ class MiniPlayer(object): |
|
|
|
# play the animation in case it had been successfully loaded before |
|
|
|
# play the animation in case it had been successfully loaded before |
|
|
|
if currentAnim is not None: |
|
|
|
if currentAnim is not None: |
|
|
|
if currentAnim.duration < self.loopTime: |
|
|
|
if currentAnim.duration < self.loopTime: |
|
|
|
count = self.loopTime / currentAnim.duration |
|
|
|
count = self.loopTime // currentAnim.duration |
|
|
|
else: |
|
|
|
else: |
|
|
|
count = 1 |
|
|
|
count = 1 |
|
|
|
player.play(currentAnim, self.__output, count=count) |
|
|
|
player.play(currentAnim, self.__output, count=count) |
|
|
|