This commit is contained in:
John Firebaugh
2013-05-16 14:33:43 -07:00
parent bf982c5c9d
commit fdc5824c5a
+1 -5
View File
@@ -29,7 +29,7 @@ iD.svg.Vertices = function(projection, context) {
}
}
function addSiblingAndChildVertices(id) {
ids.forEach(function(id) {
var entity = context.hasEntity(id);
if (entity && entity.type === 'node') {
vertices[entity.id] = entity;
@@ -39,10 +39,6 @@ iD.svg.Vertices = function(projection, context) {
} else if (entity) {
addChildVertices(entity);
}
}
ids.forEach(function(id) {
addSiblingAndChildVertices(id, 'vertex-selected');
});
return vertices;