Ignore:
Timestamp:
2015-12-27T23:30:14+01:00 (4 years ago)
Author:
Don-vip
Message:

fix #12239 - filtered multipolygon relations could be selected by double-clicking and ways by middle-clicking

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/SelectByInternalPointAction.java

    r8393 r9183  
    4949        }
    5050        for (Relation r : ds.getRelations()) {
    51             if (r.isUsable() && r.isMultipolygon()) {
     51            if (r.isUsable() && r.isMultipolygon() && r.isSelectable()) {
    5252                if (Geometry.isNodeInsideMultiPolygon(n, r, null)) {
    5353                    for (RelationMember m : r.getMembers()) {
     
    6868        return found.values();
    6969    }
    70 
    7170
    7271    /**
Note: See TracChangeset for help on using the changeset viewer.