Formatting

pull/1446/head
Daniel Hritzkiv 2017-09-18 14:48:07 -04:00
parent 8743d28ec5
commit 798542d7bd
No known key found for this signature in database
GPG Key ID: D1D19875679D5CBF
1 changed files with 3 additions and 3 deletions

View File

@ -479,14 +479,14 @@ bool FindMeshNode(Ref<Node>& nodeIn, Ref<Node>& meshNode, std::string meshID)
{
for (unsigned int i = 0; i < nodeIn->meshes.size(); ++i) {
if (meshID.compare(nodeIn->meshes[i]->id) == 0) {
meshNode = nodeIn;
return true;
meshNode = nodeIn;
return true;
}
}
for (unsigned int i = 0; i < nodeIn->children.size(); ++i) {
if(FindMeshNode(nodeIn->children[i], meshNode, meshID)) {
return true;
return true;
}
}