Merge pull request #18 from pipu/Serialize_attribute_children

Modify that serialize attribute "Children".
This commit is contained in:
xiaofeng11 2015-04-16 14:04:56 +08:00
commit 54dd0651ff
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();