diff options
Diffstat (limited to 'scene/resources/convex_polygon_shape.cpp')
-rw-r--r-- | scene/resources/convex_polygon_shape.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/resources/convex_polygon_shape.cpp b/scene/resources/convex_polygon_shape.cpp index ca9897bf97..207419f8cd 100644 --- a/scene/resources/convex_polygon_shape.cpp +++ b/scene/resources/convex_polygon_shape.cpp @@ -79,10 +79,10 @@ PoolVector<Vector3> ConvexPolygonShape::get_points() const { void ConvexPolygonShape::_bind_methods() { - ClassDB::bind_method(_MD("set_points","points"),&ConvexPolygonShape::set_points); - ClassDB::bind_method(_MD("get_points"),&ConvexPolygonShape::get_points); + ClassDB::bind_method(D_METHOD("set_points","points"),&ConvexPolygonShape::set_points); + ClassDB::bind_method(D_METHOD("get_points"),&ConvexPolygonShape::get_points); - ADD_PROPERTY( PropertyInfo(Variant::ARRAY,"points"), _SCS("set_points"), _SCS("get_points") ); + ADD_PROPERTY( PropertyInfo(Variant::ARRAY,"points"), "set_points", "get_points") ; } |