diff options
author | jmarshallnz <jmarshallnz@svn> | 2010-07-20 21:47:21 +0000 |
---|---|---|
committer | jmarshallnz <jmarshallnz@svn> | 2010-07-20 21:47:21 +0000 |
commit | 02de88c0061203f5cd942f692cbcb4452627d80d (patch) | |
tree | d53cc450f224b04f1f0e403a9a63026499b3e406 /guilib | |
parent | 144934cdfcb0f8c0bc10976894abf6a125569a62 (diff) |
fixed: <include> within <animation> tags worked only for the first one.
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@32023 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib')
-rw-r--r-- | guilib/GUIControlFactory.cpp | 2 |
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()) { |