Revert back

This commit is contained in:
vshcherb 2012-07-15 00:17:46 +03:00
parent 875120fc07
commit deac15395e

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 (false && !closedWay && getOuterWays().size() == 1) {
if (!closedWay && getOuterWays().size() == 1) {
nodes.add(nodes.get(0));
closedWay = true;
}