From f120514402e0e92d0106bdb2369a59e65ebcb694 Mon Sep 17 00:00:00 2001 From: MattUV Date: Thu, 12 May 2016 17:03:15 +0200 Subject: [PATCH] classref: Fixed return types in Area and Area2D (#4635) (cherry picked from commit 91c85ff1f5e83fd7e360ad07abad98684acf6ecf) --- doc/base/classes.xml | 4 ++-- scene/2d/area_2d.cpp | 4 ++-- scene/3d/area.cpp | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) 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);