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 /modules/csg/csg.cpp | |
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 'modules/csg/csg.cpp')
-rw-r--r-- | modules/csg/csg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/csg/csg.cpp b/modules/csg/csg.cpp index 8b46447f04..7387842259 100644 --- a/modules/csg/csg.cpp +++ b/modules/csg/csg.cpp @@ -931,7 +931,7 @@ void CSGBrushOperation::Build2DFaces::_merge_faces(const Vector<int> &p_segment_ // Delete the old faces in reverse index order. merge_faces_idx.sort(); - merge_faces_idx.invert(); + merge_faces_idx.reverse(); for (int i = 0; i < merge_faces_idx.size(); ++i) { faces.remove(merge_faces_idx[i]); } |