summaryrefslogtreecommitdiffstats
path: root/modules/csg/csg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/csg/csg.cpp')
-rw-r--r--modules/csg/csg.cpp2
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;
}