Fixed regression with drawing order because of checking for the wrong

parent node. r=tschaub (closes #1066)


git-svn-id: http://svn.openlayers.org/trunk/openlayers@9306 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
ahocevar
2009-04-18 22:00:36 +00:00
parent 6570f44d7c
commit 608ef2730f

View File

@@ -585,7 +585,7 @@ OpenLayers.Renderer.Elements = OpenLayers.Class(OpenLayers.Renderer, {
} else {
// if there's no indexer, simply append the node to root,
// but only if the node is a new one
if (node.parentNode !== this.root){
if (node.parentNode !== this.vectorRoot){
this.vectorRoot.appendChild(node);
}
}