diff --git a/panda/src/pgraph/nodePath.cxx b/panda/src/pgraph/nodePath.cxx index 5c7dbbbdaf..3e2430aa3c 100644 --- a/panda/src/pgraph/nodePath.cxx +++ b/panda/src/pgraph/nodePath.cxx @@ -309,6 +309,8 @@ get_sort(Thread *current_thread) const { * Searches for a node below the referenced node that matches the indicated * string. Returns the shortest match found, if any, or an empty NodePath if * no match can be found. + * + * The referenced node itself is not considered in the search. */ NodePath NodePath:: find(const string &path) const { @@ -349,6 +351,8 @@ find_path_to(PandaNode *node) const { /** * Returns the complete set of all NodePaths that begin with this NodePath and * can be extended by path. The shortest paths will be listed first. + * + * The referenced node itself is not considered in the search. */ NodePathCollection NodePath:: find_all_matches(const string &path) const {