summaryrefslogtreecommitdiff
path: root/scene/main
diff options
context:
space:
mode:
authorvolzhs <volzhs@gmail.com>2015-09-30 21:55:31 +0900
committervolzhs <volzhs@gmail.com>2015-09-30 21:55:31 +0900
commit1630f0ad3518422c3be76f6289f4b1d3e724907d (patch)
tree47f1586eff165f0bc147af8a1baa316d3857ef8e /scene/main
parent0840303a9c56f46b55c9f85ff0cc5938f9deb938 (diff)
fix miss bind for Node::find_node
Diffstat (limited to 'scene/main')
-rw-r--r--scene/main/node.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/main/node.cpp b/scene/main/node.cpp
index 8336ce35f6..5c7e420c7b 100644
--- a/scene/main/node.cpp
+++ b/scene/main/node.cpp
@@ -1931,7 +1931,7 @@ void Node::_bind_methods() {
ObjectTypeDB::bind_method(_MD("has_node","path"),&Node::has_node);
ObjectTypeDB::bind_method(_MD("get_node:Node","path"),&Node::get_node);
ObjectTypeDB::bind_method(_MD("get_parent:Parent"),&Node::get_parent);
- ObjectTypeDB::bind_method(_MD("find_node:Node","mask","recursive","owned"),&Node::get_node,DEFVAL(true),DEFVAL(true));
+ ObjectTypeDB::bind_method(_MD("find_node:Node","mask","recursive","owned"),&Node::find_node,DEFVAL(true),DEFVAL(true));
ObjectTypeDB::bind_method(_MD("has_node_and_resource","path"),&Node::has_node_and_resource);
ObjectTypeDB::bind_method(_MD("get_node_and_resource","path"),&Node::_get_node_and_resource);