Changeset 15896 in josm
- Timestamp:
- 2020-02-22T13:50:07+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/ImageProvider.java
r15895 r15896 1547 1547 1548 1548 // Check if the presets have icons for nodes/relations. 1549 if (!options.contains(GetPaddedOptions.NO_WAY_PRESETS) || OsmPrimitiveType.WAY != primitive.getType()) { 1549 if (primitive.isTagged() && (!options.contains(GetPaddedOptions.NO_WAY_PRESETS) || OsmPrimitiveType.WAY != primitive.getType())) { 1550 1550 final Optional<ImageIcon> icon = TaggingPresets.getMatchingPresets(primitive).stream() 1551 1551 .sorted(Comparator.comparing(p -> p.types == null || p.types.isEmpty() ? Integer.MAX_VALUE : p.types.size()))
Note:
See TracChangeset
for help on using the changeset viewer.