fix bug: create single node Recursively.

This commit is contained in:
lvlong 2015-04-13 11:35:52 +08:00
parent e731b7792a
commit 57a44194f4
1 changed files with 1 additions and 1 deletions

View File

@ -573,7 +573,7 @@ void Sprite3D::createNode(NodeData* nodedata, Node* root, const MaterialDatas& m
} }
for(const auto& it : nodedata->children) for(const auto& it : nodedata->children)
{ {
createNode(it,node, matrialdatas, singleSprite); createNode(it,node, matrialdatas, nodedata->children.size() == 1);
} }
} }