Allow disconnecting an entire way from other ways at once (close #4245)

This commit is contained in:
Quincy Morgan
2019-04-19 11:54:13 -07:00
parent f8299cb205
commit 130e9909f6
4 changed files with 61 additions and 23 deletions
-3
View File
@@ -82,9 +82,6 @@ export function actionDisconnect(nodeId, newNodeId) {
var sharedRelation;
parentWays.forEach(function(way) {
if (wayIds && wayIds.indexOf(way.id) === -1)
return;
var relations = graph.parentRelations(way);
relations.forEach(function(relation) {
if (relation.id in seenRelationIds) {