diff --git a/modules/csg/csg.cpp b/modules/csg/csg.cpp index 660deec8b57..b34cfbfaab9 100644 --- a/modules/csg/csg.cpp +++ b/modules/csg/csg.cpp @@ -524,7 +524,7 @@ void CSGBrushOperation::MeshMerge::_add_distance(List &r_intersectionsA, // Check if distance exists. for (const List::Element *E = intersections.front(); E; E = E->next()) - if (Math::abs(**E - p_distance) < vertex_snap) return; + if (Math::is_equal_approx(**E, p_distance)) return; intersections.push_back(p_distance); }