diff options
Diffstat (limited to 'scene/resources/sphere_shape.cpp')
-rw-r--r-- | scene/resources/sphere_shape.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/sphere_shape.cpp b/scene/resources/sphere_shape.cpp index ac73c4d380..3029625928 100644 --- a/scene/resources/sphere_shape.cpp +++ b/scene/resources/sphere_shape.cpp @@ -75,8 +75,8 @@ float SphereShape::get_radius() const { void SphereShape::_bind_methods() { - ClassDB::bind_method(_MD("set_radius","radius"),&SphereShape::set_radius); - ClassDB::bind_method(_MD("get_radius"),&SphereShape::get_radius); + ClassDB::bind_method(D_METHOD("set_radius","radius"),&SphereShape::set_radius); + ClassDB::bind_method(D_METHOD("get_radius"),&SphereShape::get_radius); ADD_PROPERTY( PropertyInfo(Variant::REAL,"radius",PROPERTY_HINT_RANGE,"0,4096,0.01"), "set_radius", "get_radius"); |