Browse Source

Applied Node::GetChildrenWithComponent() patch from weitjong.

Lasse Öörni 13 years ago
parent
commit
926a06d1af
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Engine/Scene/Node.cpp

+ 1 - 1
Engine/Scene/Node.cpp

@@ -1218,7 +1218,7 @@ void Node::GetChildrenWithComponentRecursive(PODVector<Node*>& dest, ShortString
         if (node->HasComponent(type))
             dest.Push(node);
         if (!node->children_.Empty())
-            node->GetChildrenRecursive(dest);
+            node->GetChildrenWithComponentRecursive(dest, type);
     }
 }