From 12bd89a39cbd000b6e78ecf3d45838580926ff8a Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Sun, 17 May 2015 17:19:12 -0300 Subject: [PATCH] small description improvement --- .gitignore | 1 + scene/main/scene_main_loop.cpp | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 2b3dd45c6c0..a5b45a1ae1b 100644 --- a/.gitignore +++ b/.gitignore @@ -280,3 +280,4 @@ cscope.files cscope.out cscope.in.out cscope.po.out +godot.creator.user.wd3476 diff --git a/scene/main/scene_main_loop.cpp b/scene/main/scene_main_loop.cpp index 4113fd1998d..584b40337f6 100644 --- a/scene/main/scene_main_loop.cpp +++ b/scene/main/scene_main_loop.cpp @@ -1094,11 +1094,11 @@ void SceneTree::_bind_methods() { ObjectTypeDB::bind_native_method(METHOD_FLAGS_DEFAULT,"call_group",&SceneTree::_call_group,mi,defargs); - ObjectTypeDB::bind_method(_MD("set_current_scene","child_node"),&SceneTree::set_current_scene); - ObjectTypeDB::bind_method(_MD("get_current_scene"),&SceneTree::get_current_scene); + ObjectTypeDB::bind_method(_MD("set_current_scene","child_node:Node"),&SceneTree::set_current_scene); + ObjectTypeDB::bind_method(_MD("get_current_scene:Node"),&SceneTree::get_current_scene); ObjectTypeDB::bind_method(_MD("change_scene","path"),&SceneTree::change_scene); - ObjectTypeDB::bind_method(_MD("change_scene_to","packed_scene"),&SceneTree::change_scene_to); + ObjectTypeDB::bind_method(_MD("change_scene_to","packed_scene:PackedScene"),&SceneTree::change_scene_to); ObjectTypeDB::bind_method(_MD("reload_current_scene"),&SceneTree::reload_current_scene);