Fix bug in ol.structs.RBush#clear

This commit is contained in:
Tom Payne
2013-12-19 13:56:39 +01:00
parent 0795b47043
commit 484c5b2fe3

View File

@@ -26,6 +26,7 @@ goog.provide('ol.structs.RBush');
goog.require('goog.array');
goog.require('goog.asserts');
goog.require('goog.object');
goog.require('ol.extent');
@@ -331,6 +332,7 @@ ol.structs.RBush.prototype.clear = function() {
node.height = 1;
node.children.length = 0;
node.value = null;
goog.object.clear(this.valueExtent_);
};