Whitespace

pull/1498/head
Turo Lamminen 2017-11-07 18:18:34 +02:00
parent a7fccf8f33
commit bd0d47c5fc
1 changed files with 5 additions and 5 deletions

View File

@ -234,11 +234,11 @@ void OptimizeGraphProcess::CollectNewChildren(aiNode* nd, std::list<aiNode*>& no
nd->mNumChildren = static_cast<unsigned int>(child_nodes.size()); nd->mNumChildren = static_cast<unsigned int>(child_nodes.size());
if (nd->mChildren) { if (nd->mChildren) {
aiNode** tmp = nd->mChildren; aiNode** tmp = nd->mChildren;
for (std::list<aiNode*>::iterator it = child_nodes.begin(); it != child_nodes.end(); ++it) { for (std::list<aiNode*>::iterator it = child_nodes.begin(); it != child_nodes.end(); ++it) {
aiNode* node = *tmp++ = *it; aiNode* node = *tmp++ = *it;
node->mParent = nd; node->mParent = nd;
} }
} }
nodes_out += static_cast<unsigned int>(child_nodes.size()); nodes_out += static_cast<unsigned int>(child_nodes.size());