diff options
author | Gerold31 <kramer.leroy@gmail.com> | 2014-10-26 15:07:54 +0100 |
---|---|---|
committer | Gerold31 <kramer.leroy@gmail.com> | 2014-10-26 15:07:54 +0100 |
commit | 6532aa627cd6a4b1f590dcf1d91c03a3860ce889 (patch) | |
tree | 97f2ed84b6df5c58f58909c68c6d4c35f172e559 /servers | |
parent | b38118c5cb363c9aa07fa90bf246eee8edeff203 (diff) |
Fix some more incorrect bindings
Diffstat (limited to 'servers')
-rw-r--r-- | servers/physics_2d_server.cpp | 4 | ||||
-rw-r--r-- | servers/visual_server.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/servers/physics_2d_server.cpp b/servers/physics_2d_server.cpp index cfa79e917d..2760f9bea6 100644 --- a/servers/physics_2d_server.cpp +++ b/servers/physics_2d_server.cpp @@ -416,8 +416,8 @@ void Physics2DServer::_bind_methods() { ObjectTypeDB::bind_method(_MD("area_set_space_override_mode","area","mode"),&Physics2DServer::area_set_space_override_mode); ObjectTypeDB::bind_method(_MD("area_get_space_override_mode","area"),&Physics2DServer::area_get_space_override_mode); - ObjectTypeDB::bind_method(_MD("area_add_shape","area","shape","transform"),&Physics2DServer::area_set_shape,DEFVAL(Matrix32())); - ObjectTypeDB::bind_method(_MD("area_set_shape","area","shape_idx","shape"),&Physics2DServer::area_get_shape); + ObjectTypeDB::bind_method(_MD("area_add_shape","area","shape","transform"),&Physics2DServer::area_add_shape,DEFVAL(Matrix32())); + ObjectTypeDB::bind_method(_MD("area_set_shape","area","shape_idx","shape"),&Physics2DServer::area_set_shape); ObjectTypeDB::bind_method(_MD("area_set_shape_transform","area","shape_idx","transform"),&Physics2DServer::area_set_shape_transform); ObjectTypeDB::bind_method(_MD("area_get_shape_count","area"),&Physics2DServer::area_get_shape_count); diff --git a/servers/visual_server.cpp b/servers/visual_server.cpp index 9abfecaac6..e0238c8042 100644 --- a/servers/visual_server.cpp +++ b/servers/visual_server.cpp @@ -486,7 +486,7 @@ void VisualServer::_bind_methods() { ObjectTypeDB::bind_method(_MD("instances_cull_aabb"),&VisualServer::instances_cull_aabb); ObjectTypeDB::bind_method(_MD("instances_cull_ray"),&VisualServer::instances_cull_ray); - ObjectTypeDB::bind_method(_MD("instances_cull_convex"),&VisualServer::instances_cull_ray); + ObjectTypeDB::bind_method(_MD("instances_cull_convex"),&VisualServer::instances_cull_convex); |