From: Richard Fairhurst Date: Sun, 13 Jun 2010 11:38:26 +0000 (+0000) Subject: multipolygon bugfix X-Git-Tag: 0.5~404 X-Git-Url: https://git.openstreetmap.org/potlatch2.git/commitdiff_plain/68bd480f3922574abbdd9cd907165ce7ddadb0cd multipolygon bugfix --- diff --git a/net/systemeD/halcyon/WayUI.as b/net/systemeD/halcyon/WayUI.as index dec24870..959bfb4e 100755 --- a/net/systemeD/halcyon/WayUI.as +++ b/net/systemeD/halcyon/WayUI.as @@ -290,7 +290,7 @@ package net.systemeD.halcyon { private function solidLine(g:Graphics,w:Way):void { var node:Node = w.getNode(0); g.moveTo(paint.map.lon2coord(node.lon), paint.map.latp2coord(node.latp)); - for (var i:uint = 1; i < way.length; i++) { + for (var i:uint = 1; i < w.length; i++) { node = w.getNode(i); g.lineTo(paint.map.lon2coord(node.lon), paint.map.latp2coord(node.latp)); }