aboutsummaryrefslogtreecommitdiff
path: root/guilib
diff options
context:
space:
mode:
Diffstat (limited to 'guilib')
-rw-r--r--guilib/GUIControlFactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/guilib/GUIControlFactory.cpp b/guilib/GUIControlFactory.cpp
index cc00d2e41d..3124da65b1 100644
--- a/guilib/GUIControlFactory.cpp
+++ b/guilib/GUIControlFactory.cpp
@@ -416,12 +416,12 @@ bool CGUIControlFactory::GetConditionalVisibility(const TiXmlNode *control, int
bool CGUIControlFactory::GetAnimations(TiXmlNode *control, const CRect &rect, vector<CAnimation> &animations)
{
TiXmlElement* node = control->FirstChildElement("animation");
- g_SkinInfo->ResolveIncludes(node);
bool ret = false;
if (node)
animations.clear();
while (node)
{
+ g_SkinInfo->ResolveIncludes(node);
ret = true;
if (node->FirstChild())
{