diff options
| author | Rémi Verschelde <remi@verschelde.fr> | 2021-04-01 13:32:22 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-01 13:32:22 +0200 |
| commit | 4b6e9f315739c4400e3c2d27cd72028779bce1e5 (patch) | |
| tree | 0625f98287fd20f0ffd6002b4c8ee4f81e068bb8 /editor/plugins | |
| parent | 7db85fffb50ef98dbf175189fba17a4d7dc85f5d (diff) | |
| parent | 755c70b871c659df2d7c3a003593f38775dd7b5d (diff) | |
| download | redot-engine-4b6e9f315739c4400e3c2d27cd72028779bce1e5.tar.gz | |
Merge pull request #46991 from madmiraal/rename-invert-reverse
Rename Array.invert() to Array.reverse()
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 cca4f594e9..feaf609557 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); |
