From 37386f112bafa9c4e94c342f6d5f04392a5623f7 Mon Sep 17 00:00:00 2001 From: Aaron Franke Date: Wed, 3 Oct 2018 13:40:37 -0400 Subject: Remove redundant "== true" code If it can be compared to a boolean, it can be evaluated as one in-place. --- modules/csg/csg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/csg/csg.cpp') diff --git a/modules/csg/csg.cpp b/modules/csg/csg.cpp index f0103bb71d..88f3c0338a 100644 --- a/modules/csg/csg.cpp +++ b/modules/csg/csg.cpp @@ -805,7 +805,7 @@ void CSGBrushOperation::_merge_poly(MeshMerge &mesh, int p_face_idx, const Build //process points that were not processed for (int i = 0; i < edge_process.size(); i++) { - if (edge_process[i] == true) + if (edge_process[i]) continue; //already processed int intersect_poly = -1; -- cgit v1.2.3