From c13f7f5d4d9c92f8ac5ff4dcfccfd556f64a4570 Mon Sep 17 00:00:00 2001 From: euzuro Date: Thu, 6 Jul 2006 12:47:09 +0000 Subject: [PATCH] copy the actual tileSize object, not just the reference. git-svn-id: http://svn.openlayers.org/trunk/openlayers@900 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Layer/Grid.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/OpenLayers/Layer/Grid.js b/lib/OpenLayers/Layer/Grid.js index b4c91d40ef..f5be57fb87 100644 --- a/lib/OpenLayers/Layer/Grid.js +++ b/lib/OpenLayers/Layer/Grid.js @@ -65,6 +65,7 @@ OpenLayers.Layer.Grid.prototype = } // copy/set any non-init, non-simple values here + obj.tileSize = this.tileSize.copyOf(); //get all additions from superclasses return OpenLayers.Layer.HTTPRequest.prototype.clone.apply(this, [obj]);