Changeset 15083 in josm


Ignore:
Timestamp:
2019-05-18T15:27:44+02:00 (6 years ago)
Author:
Don-vip
Message:

fix #17729, see #17695 - don't call geometry functions for non-multipolygon relations

File:
1 edited

Legend:

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

    r15069 r15083  
    341341                        addToChildren(e, p);
    342342                    }
    343                 } else if (e.osm instanceof Relation) {
     343                } else if (e.osm instanceof Relation && e.osm.isMultipolygon()) {
    344344                    for (IPrimitive p : Geometry.filterInsideMultipolygon(toCheck, (Relation) e.osm)) {
    345345                        addToChildren(e, p);
Note: See TracChangeset for help on using the changeset viewer.