From 6afd82349bca7e8f5580057e3c1b9133e51c60c2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 29 Apr 2016 18:16:18 +0300 Subject: Add name into Animation memory object. --- src/resources/animation/simpleanimation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources/animation/simpleanimation.cpp') diff --git a/src/resources/animation/simpleanimation.cpp b/src/resources/animation/simpleanimation.cpp index e4c0d8a3f..8f0bfba0b 100644 --- a/src/resources/animation/simpleanimation.cpp +++ b/src/resources/animation/simpleanimation.cpp @@ -49,7 +49,7 @@ SimpleAnimation::SimpleAnimation(Animation *const animation) : SimpleAnimation::SimpleAnimation(const XmlNodePtr animationNode, const std::string& dyePalettes) : - mAnimation(new Animation), + mAnimation(new Animation("simple animation")), mAnimationTime(0), mAnimationPhase(0), mCurrentFrame(nullptr), -- cgit v1.2.3-60-g2f50