1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-09 12:50:35 +00:00

Rename Array.invert() to Array.reverse()

Does the same internally for List and Vector<>, which includes all
PackedArray types.
This commit is contained in:
Marcel Admiraal
2021-03-14 07:21:32 +00:00
parent 07f076fa4f
commit 755c70b871
35 changed files with 57 additions and 57 deletions

View File

@@ -2928,7 +2928,7 @@ void TileSetEditor::close_shape(const Vector2 &shape_anchor) {
}
if (p_total < 0) {
points.invert();
points.reverse();
}
shape->set_points(points);