Merge pull request #11455 from xiaofeng11/v3

Fix won't load child bug
This commit is contained in:
minggo 2015-04-16 14:37:22 +08:00
commit 0e7c096201
2 changed files with 2 additions and 10 deletions

View File

@ -247,11 +247,7 @@ namespace cocostudio
while (child)
{
std::string attriname = child->Name();
if (attriname == "Children")
{
break;
}
else if (attriname == "Position")
if (attriname == "Position")
{
attribute = child->FirstAttribute();

View File

@ -558,11 +558,7 @@ namespace cocostudio
while (child)
{
std::string attriname = child->Name();
if (attriname == "Children")
{
break;
}
else if (attriname == "Position")
if (attriname == "Position")
{
attribute = child->FirstAttribute();