From 9aa87da074a9d52db4f7f98d2c88f36eb9eb140f Mon Sep 17 00:00:00 2001 From: Eduardo Bart Date: Thu, 8 Sep 2011 14:38:21 -0300 Subject: [PATCH] small fix, thx darone --- src/framework/graphics/animatedtexture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/framework/graphics/animatedtexture.cpp b/src/framework/graphics/animatedtexture.cpp index 6e6c9919..8c309adf 100644 --- a/src/framework/graphics/animatedtexture.cpp +++ b/src/framework/graphics/animatedtexture.cpp @@ -73,6 +73,6 @@ void AnimatedTexture::processAnimation() AnimatedTexturePtr self = asAnimatedTexture(); // continue to animate only if something still referencing this texture - if(self.use_count() > 1) + if(self.use_count() > 2) g_dispatcher.scheduleEvent(std::bind(&AnimatedTexture::processAnimation, self), m_framesDelay[m_currentFrame]); }