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 /modules/csg/csg_shape.cpp | |
parent | 7db85fffb50ef98dbf175189fba17a4d7dc85f5d (diff) | |
parent | 755c70b871c659df2d7c3a003593f38775dd7b5d (diff) |
Merge pull request #46991 from madmiraal/rename-invert-reverse
Rename Array.invert() to Array.reverse()
Diffstat (limited to 'modules/csg/csg_shape.cpp')
-rw-r--r-- | modules/csg/csg_shape.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/csg/csg_shape.cpp b/modules/csg/csg_shape.cpp index b97ee6ce4c..77be493be9 100644 --- a/modules/csg/csg_shape.cpp +++ b/modules/csg/csg_shape.cpp @@ -1679,7 +1679,7 @@ CSGBrush *CSGPolygon3D::_build_brush() { Vector<Point2> final_polygon = polygon; if (Triangulate::get_area(final_polygon) > 0) { - final_polygon.invert(); + final_polygon.reverse(); } Vector<int> triangles = Geometry2D::triangulate_polygon(final_polygon); |