diff options
author | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2021-03-14 07:21:32 +0000 |
---|---|---|
committer | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2021-03-21 10:20:08 +0000 |
commit | 755c70b871c659df2d7c3a003593f38775dd7b5d (patch) | |
tree | 9196b3da289e7ffc27e321ce6c4d2f97e0af7c95 /editor/plugins | |
parent | 07f076fa4f2896415993bb8e3fb42128423de0d2 (diff) |
Rename Array.invert() to Array.reverse()
Does the same internally for List and Vector<>, which includes all
PackedArray types.
Diffstat (limited to 'editor/plugins')
-rw-r--r-- | editor/plugins/tile_set_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/tile_set_editor_plugin.cpp b/editor/plugins/tile_set_editor_plugin.cpp index b97ee10743..66d7d3dbaa 100644 --- a/editor/plugins/tile_set_editor_plugin.cpp +++ b/editor/plugins/tile_set_editor_plugin.cpp @@ -2928,7 +2928,7 @@ void TileSetEditor::close_shape(const Vector2 &shape_anchor) { } if (p_total < 0) { - points.invert(); + points.reverse(); } shape->set_points(points); |