Changeset 3844 in josm for trunk/src/org/openstreetmap/josm/gui/mappaint/xml/XmlStyleSource.java
- Timestamp:
- 2011-02-02T16:56:07+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/xml/XmlStyleSource.java
r3843 r3844 67 67 while(parser.hasNext()) { 68 68 } 69 69 70 70 } catch(IOException e) { 71 71 System.err.println(tr("Warning: failed to load Mappaint styles from ''{0}''. Exception was: {1}", url, e.toString())); … … 278 278 } 279 279 } 280 } else if (osm instanceof Way || (osm instanceof Relation && "multipolygon".equals(osm.get("type")))) {280 } else if (osm instanceof Way || (osm instanceof Relation && ((Relation)osm).isMultipolygon())) { 281 281 WayPrototypesRecord p = new WayPrototypesRecord(); 282 282 get(osm, pretendWayIsClosed || !(osm instanceof Way) || ((Way) osm).isClosed(), p, (useMinMaxScale ? scale : null), mc);
Note:
See TracChangeset
for help on using the changeset viewer.