- Timestamp:
- 2016-09-01T20:00:55+02:00 (8 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/TagInfoExtract.groovy
r10876 r10927 128 128 def image = c.get("icon-image") 129 129 if (image) { 130 if (image instanceof IconReference) { 131 if (image.iconName != "misc/deprecated.svg") 132 return find_image_url(image.iconName) 130 if (image instanceof IconReference && !image.isDeprecatedIcon()) { 131 return find_image_url(image.iconName) 133 132 } 134 133 } -
trunk/src/org/openstreetmap/josm/gui/mappaint/MapPaintStyles.java
r10926 r10927 111 111 public String toString() { 112 112 return "IconReference{" + "iconName='" + iconName + "' source='" + source.getDisplayString() + "'}"; 113 } 114 115 /** 116 * Determines whether this icon represents a deprecated icon 117 * @return whether this icon represents a deprecated icon 118 * @since 10927 119 */ 120 public boolean isDeprecatedIcon() { 121 return DEPRECATED_IMAGE_NAMES.contains(iconName); 113 122 } 114 123 }
Note:
See TracChangeset
for help on using the changeset viewer.