Changeset 6713 in josm for trunk/src/org


Ignore:
Timestamp:
2014-01-17T15:13:19+01:00 (11 years ago)
Author:
Don-vip
Message:

fix #5886 - cascaded very old style multipolygon not rendered properly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/relations/Multipolygon.java

    r6296 r6713  
    528528        PolyData result = null;
    529529        for (PolyData combined : outerPolygons) {
    530             Intersection c = combined.contains(inner.poly);
    531             if (c != Intersection.OUTSIDE)
    532             {
    533                 if (result == null || result.contains(combined.poly) != Intersection.INSIDE) {
     530            if (combined.contains(inner.poly) != Intersection.OUTSIDE) {
     531                if (result == null || result.contains(combined.poly) == Intersection.INSIDE) {
    534532                    result = combined;
    535533                }
Note: See TracChangeset for help on using the changeset viewer.