diff --git a/doc/base/classes.xml b/doc/base/classes.xml index 9911e714d3c..181f6612f01 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -3951,7 +3951,7 @@ - + @@ -3960,7 +3960,7 @@ - + diff --git a/scene/2d/area_2d.cpp b/scene/2d/area_2d.cpp index 50a115174d0..8b7aff3b7a0 100644 --- a/scene/2d/area_2d.cpp +++ b/scene/2d/area_2d.cpp @@ -638,8 +638,8 @@ void Area2D::_bind_methods() { ObjectTypeDB::bind_method(_MD("get_overlapping_bodies"),&Area2D::get_overlapping_bodies); ObjectTypeDB::bind_method(_MD("get_overlapping_areas"),&Area2D::get_overlapping_areas); - ObjectTypeDB::bind_method(_MD("overlaps_body:PhysicsBody2D","body"),&Area2D::overlaps_body); - ObjectTypeDB::bind_method(_MD("overlaps_area:Area2D","area"),&Area2D::overlaps_area); + ObjectTypeDB::bind_method(_MD("overlaps_body","body"),&Area2D::overlaps_body); + ObjectTypeDB::bind_method(_MD("overlaps_area","area"),&Area2D::overlaps_area); ObjectTypeDB::bind_method(_MD("_body_inout"),&Area2D::_body_inout); ObjectTypeDB::bind_method(_MD("_area_inout"),&Area2D::_area_inout); diff --git a/scene/3d/area.cpp b/scene/3d/area.cpp index 7d4235e0510..c36ce2949b0 100644 --- a/scene/3d/area.cpp +++ b/scene/3d/area.cpp @@ -562,8 +562,8 @@ void Area::_bind_methods() { ObjectTypeDB::bind_method(_MD("get_overlapping_bodies"),&Area::get_overlapping_bodies); ObjectTypeDB::bind_method(_MD("get_overlapping_areas"),&Area::get_overlapping_areas); - ObjectTypeDB::bind_method(_MD("overlaps_body:PhysicsBody","body"),&Area::overlaps_body); - ObjectTypeDB::bind_method(_MD("overlaps_area:Area","area"),&Area::overlaps_area); + ObjectTypeDB::bind_method(_MD("overlaps_body","body"),&Area::overlaps_body); + ObjectTypeDB::bind_method(_MD("overlaps_area","area"),&Area::overlaps_area); ObjectTypeDB::bind_method(_MD("_body_inout"),&Area::_body_inout); ObjectTypeDB::bind_method(_MD("_area_inout"),&Area::_area_inout);