aboutsummaryrefslogtreecommitdiff
path: root/scene/3d/body_shape.cpp
diff options
context:
space:
mode:
authorRémi Verschelde2015-12-28 12:26:36 +0100
committerRémi Verschelde2015-12-28 12:26:36 +0100
commitbfbde4dfd11be8728be4bb88d8bc109acb19ccfd (patch)
tree80caee83551b639717c252e5f33036a75670ad8a /scene/3d/body_shape.cpp
parent37cb0faedb0aa314d5e9ca2e4f4b0e268dd3237f (diff)
parentd4993b74fc715d294ca0a77b335db3782d4bdcd6 (diff)
downloadgodot-bfbde4dfd11be8728be4bb88d8bc109acb19ccfd.tar.gz
godot-bfbde4dfd11be8728be4bb88d8bc109acb19ccfd.tar.zst
godot-bfbde4dfd11be8728be4bb88d8bc109acb19ccfd.zip
Merge pull request #3146 from akien-mga/pr-argument-names
Add missing argument names in GDScript bindings + related fixes
Diffstat (limited to '')
-rw-r--r--scene/3d/body_shape.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/body_shape.cpp b/scene/3d/body_shape.cpp
index b54cbfe0f..49f95550c 100644
--- a/scene/3d/body_shape.cpp
+++ b/scene/3d/body_shape.cpp
@@ -402,7 +402,7 @@ int CollisionShape::_get_update_shape_index() const{
void CollisionShape::_bind_methods() {
//not sure if this should do anything
- ObjectTypeDB::bind_method(_MD("resource_changed"),&CollisionShape::resource_changed);
+ ObjectTypeDB::bind_method(_MD("resource_changed","resource"),&CollisionShape::resource_changed);
ObjectTypeDB::bind_method(_MD("set_shape","shape"),&CollisionShape::set_shape);
ObjectTypeDB::bind_method(_MD("get_shape"),&CollisionShape::get_shape);
ObjectTypeDB::bind_method(_MD("_add_to_collision_object"),&CollisionShape::_add_to_collision_object);