Modify that serialize attribute "Children".

This commit is contained in:
pipu 2015-04-16 13:58:01 +08:00
parent a8fcaf4f4f
commit d1dcf3f620
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();