summaryrefslogtreecommitdiffstats
path: root/scene/resources/box_shape.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/box_shape.cpp')
-rw-r--r--scene/resources/box_shape.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/box_shape.cpp b/scene/resources/box_shape.cpp
index 9b3a93be1f..e8eccaceae 100644
--- a/scene/resources/box_shape.cpp
+++ b/scene/resources/box_shape.cpp
@@ -70,8 +70,8 @@ Vector3 BoxShape::get_extents() const {
void BoxShape::_bind_methods() {
- ClassDB::bind_method(_MD("set_extents","extents"),&BoxShape::set_extents);
- ClassDB::bind_method(_MD("get_extents"),&BoxShape::get_extents);
+ ClassDB::bind_method(D_METHOD("set_extents","extents"),&BoxShape::set_extents);
+ ClassDB::bind_method(D_METHOD("get_extents"),&BoxShape::get_extents);
ADD_PROPERTY( PropertyInfo(Variant::VECTOR3,"extents"), "set_extents", "get_extents") ;