Check bug 1164

This commit is contained in:
vshcherb 2012-07-15 00:08:57 +03:00
parent 2a8f46e46d
commit 875120fc07

View file

@ -47,7 +47,7 @@ public class Boundary {
List<Node> nodes = getOuterWays().get(0).getNodes();
closedWay = getOuterWays().size() == 1 && nodes.get(0).getId() == nodes.get(nodes.size() - 1).getId();
//if not closed, but we have only one way, make it close
if (!closedWay && getOuterWays().size() == 1) {
if (false && !closedWay && getOuterWays().size() == 1) {
nodes.add(nodes.get(0));
closedWay = true;
}