From de5bac0a85ec307df731b5d2fd66c90f2f97af87 Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Wed, 22 Apr 2015 22:36:55 -0400 Subject: [PATCH] Don't unzorro ways that are overly connected (closes #2598) --- js/id/actions/move.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/id/actions/move.js b/js/id/actions/move.js index 7dd39c5b3..35fb53098 100644 --- a/js/id/actions/move.js +++ b/js/id/actions/move.js @@ -51,6 +51,9 @@ iD.actions.Move = function(moveIds, tryDelta, projection, cache) { unmoved = _.find(parents, function(way) { return !cache.moving[way.id]; }); if (!unmoved) return; + // exclude ways that are overly connected.. + if (_.intersection(moved.nodes, unmoved.nodes).length > 2) return; + if (moved.isArea() || unmoved.isArea()) return; cache.intersection[node.id] = {