diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-01-11 14:34:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-11 14:34:18 +0100 |
commit | d40d86b959eea69cea16199390243abdbaa24621 (patch) | |
tree | bec5aba288d12b7a172cea7ef17d40937604cd8d /scene/2d | |
parent | dcd2364dacc6c0af2e949ca34dd6e7f6e75e7d5c (diff) | |
parent | 0c46f73b5e5e89ba8fbe1f2294f203b5e9df2d0a (diff) |
Merge pull request #56667 from Ice-Cube69/fix_incorrect_property_types
Diffstat (limited to 'scene/2d')
-rw-r--r-- | scene/2d/polygon_2d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/polygon_2d.cpp b/scene/2d/polygon_2d.cpp index 5451d95be9..1f4dec6864 100644 --- a/scene/2d/polygon_2d.cpp +++ b/scene/2d/polygon_2d.cpp @@ -662,7 +662,7 @@ void Polygon2D::_bind_methods() { ADD_PROPERTY(PropertyInfo(Variant::PACKED_VECTOR2_ARRAY, "uv"), "set_uv", "get_uv"); ADD_PROPERTY(PropertyInfo(Variant::PACKED_COLOR_ARRAY, "vertex_colors"), "set_vertex_colors", "get_vertex_colors"); ADD_PROPERTY(PropertyInfo(Variant::ARRAY, "polygons"), "set_polygons", "get_polygons"); - ADD_PROPERTY(PropertyInfo(Variant::BOOL, "bones", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_NO_EDITOR), "_set_bones", "_get_bones"); + ADD_PROPERTY(PropertyInfo(Variant::ARRAY, "bones", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_NO_EDITOR), "_set_bones", "_get_bones"); ADD_PROPERTY(PropertyInfo(Variant::INT, "internal_vertex_count", PROPERTY_HINT_RANGE, "0,1000"), "set_internal_vertex_count", "get_internal_vertex_count"); } |