Fixing issue #2423 (local merge has to capture touching shapes)

This commit is contained in:
Matthias Koefferlein
2026-08-20 09:39:24 +02:00
parent 87060b4364
commit 6b4e3b6e2a
+2 -2
View File
@@ -888,10 +888,10 @@ std::map<unsigned int, db::Coord>
check_local_operation<TS, TI>::override_distance () const
{
// makes sure, the "foreign"-type pseudo-intruder used for merging only
// does not use the full search range, but only "touching".
// does not use the full search range, but only "touching" (distance 1).
std::map<unsigned int, db::Coord> od;
if (check_local_operation_base<TS, TI>::m_has_other) {
od.insert (std::make_pair (1, 0));
od.insert (std::make_pair (1, 1));
}
return od;
}