From fd0803f89c9183deb09641bf8c877b04849ac937 Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Sun, 24 Jul 2016 17:30:35 -0700 Subject: [PATCH] Don't limit movement if this is vertex joins 2 endpoints.. (closes #2731) --- modules/actions/move.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/actions/move.js b/modules/actions/move.js index 6e3ae83e1..c19cad604 100644 --- a/modules/actions/move.js +++ b/modules/actions/move.js @@ -235,6 +235,9 @@ export function Move(moveIds, tryDelta, projection, cache) { // check if moving way endpoint can cross an unmoved way, if so limit delta.. function limitDelta(graph) { _.each(cache.intersection, function(obj) { + // Don't limit movement if this is vertex joins 2 endpoints.. + if (obj.movedIsEP && obj.unmovedIsEP) return; + // Don't limit movement if this vertex is not an endpoint anyway.. if (!obj.movedIsEP) return; var node = graph.entity(obj.nodeId),