summaryrefslogtreecommitdiffstats
path: root/servers/physics_server.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2015-12-28 02:13:05 +0100
committerRémi Verschelde <rverschelde@gmail.com>2015-12-28 02:13:05 +0100
commitd4993b74fc715d294ca0a77b335db3782d4bdcd6 (patch)
treef8b95f71ecb329a2fe192b1f994634646ed63d9d /servers/physics_server.cpp
parentfe46b2ac0c56b58fd9651d283cf1ec802e613646 (diff)
downloadredot-engine-d4993b74fc715d294ca0a77b335db3782d4bdcd6.tar.gz
Add missing argument names in GDScript bindings
All classes were reviewed apart from VisualServer for which no argument name is documented at all. While doing this review, I found quite a few bugs that were fixed either in earlier commits or this one (mostly documentation bugs though, i.e. some arguments were listed at the wrong place).
Diffstat (limited to 'servers/physics_server.cpp')
-rw-r--r--servers/physics_server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/servers/physics_server.cpp b/servers/physics_server.cpp
index bc2b37d92c..ea5f5fbbbf 100644
--- a/servers/physics_server.cpp
+++ b/servers/physics_server.cpp
@@ -467,7 +467,7 @@ void PhysicsServer::_bind_methods() {
ObjectTypeDB::bind_method(_MD("area_attach_object_instance_ID","area","id"),&PhysicsServer::area_attach_object_instance_ID);
ObjectTypeDB::bind_method(_MD("area_get_object_instance_ID","area"),&PhysicsServer::area_get_object_instance_ID);
- ObjectTypeDB::bind_method(_MD("area_set_monitor_callback","receiver","method"),&PhysicsServer::area_set_monitor_callback);
+ ObjectTypeDB::bind_method(_MD("area_set_monitor_callback","area","receiver","method"),&PhysicsServer::area_set_monitor_callback);
ObjectTypeDB::bind_method(_MD("area_set_ray_pickable","area","enable"),&PhysicsServer::area_set_ray_pickable);
ObjectTypeDB::bind_method(_MD("area_is_ray_pickable","area"),&PhysicsServer::area_is_ray_pickable);
@@ -671,7 +671,7 @@ void PhysicsServer::_bind_methods() {
//ObjectTypeDB::bind_method(_MD("flush_queries"),&PhysicsServer::flush_queries);
- ObjectTypeDB::bind_method(_MD("get_process_info"),&PhysicsServer::get_process_info);
+ ObjectTypeDB::bind_method(_MD("get_process_info","process_info"),&PhysicsServer::get_process_info);
BIND_CONSTANT( SHAPE_PLANE );
BIND_CONSTANT( SHAPE_RAY );