Changeset 6630 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2014-01-05T12:17:49+01:00 (11 years ago)
Author:
simon04
Message:

see #9534 - "Overlapping areas" validator: do not generate warnings for non-closed/non-area-style objects

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/Condition.java

    r6629 r6630  
    1313import org.openstreetmap.josm.data.osm.Way;
    1414import org.openstreetmap.josm.gui.mappaint.Cascade;
     15import org.openstreetmap.josm.gui.mappaint.ElemStyles;
    1516import org.openstreetmap.josm.gui.mappaint.Environment;
    1617import org.openstreetmap.josm.tools.CheckParameterUtil;
     
    333334            } else if ("sameTags".equals(id)) {
    334335                return e.osm.hasSameInterestingTags(Utils.firstNonNull(e.child, e.parent));
     336            } else if ("areaStyle".equals(id)) {
     337                return ElemStyles.hasAreaElemStyle(e.osm, false);
    335338            }
    336339            return true;
Note: See TracChangeset for help on using the changeset viewer.