Fix infinite loop bug in ol.structs.RBush

This commit is contained in:
Tom Payne
2013-11-27 15:07:36 +01:00
parent f847b37261
commit 5d3a5ae68e

View File

@@ -614,7 +614,8 @@ ol.structs.RBush.prototype.remove_ = function(extent, value) {
return;
}
}
++index;
node = path.pop();
index = indexes.pop();
} else if (index < node.children.length) {
child = node.children[index];
if (ol.extent.containsExtent(child.extent, extent)) {