Changeset 4185 in josm


Ignore:
Timestamp:
2011-06-29T17:35:37+02:00 (10 years ago)
Author:
stoecker
Message:

fix #6278 - handle multipolygon relations as closed ways in tagging presets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPreset.java

    r4182 r4185  
    14551455                if(osm instanceof Relation)
    14561456                {
    1457                     if(!types.contains(PresetType.RELATION)) {
     1457                    if(!types.contains(PresetType.RELATION) &&
     1458                            !(types.contains(PresetType.CLOSEDWAY) && ((Relation)osm).isMultipolygon())) {
    14581459                        continue;
    14591460                    }
Note: See TracChangeset for help on using the changeset viewer.