diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-05-06 22:33:45 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-05-06 22:33:45 +0200 |
commit | 7cdad333114e6765351ed0facb48db228ef29b7b (patch) | |
tree | 6dde92ad1c3dbe39d3e9a04ffdddc110b10787c6 /modules/csg/csg.cpp | |
parent | 5c7d2d67688736edbf6d280fbf4038390eac5c5e (diff) | |
parent | 86de59d60a72e91d135450cccae4e220088a8a4b (diff) | |
download | redot-engine-7cdad333114e6765351ed0facb48db228ef29b7b.tar.gz |
Merge pull request #91621 from AThousandShips/localvector_has
[Core] Add `LocalVector::has` for convenience
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 878664bb9c..cec03b7246 100644 --- a/modules/csg/csg.cpp +++ b/modules/csg/csg.cpp @@ -1098,7 +1098,7 @@ void CSGBrushOperation::Build2DFaces::_find_edge_intersections(const Vector2 p_s }; // Check if edge has already been processed. - if (processed_edges.find(edge_points_and_uvs) != -1) { + if (processed_edges.has(edge_points_and_uvs)) { continue; } |