Changeset 7091 in josm
- Timestamp:
- 2014-05-10T01:56:51+02:00 (11 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data/osm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/Relation.java
r7005 r7091 535 535 protected void keysChangedImpl(Map<String, String> originalKeys) { 536 536 super.keysChangedImpl(originalKeys); 537 // fix #8346 - Clear style cache for multipolygon members after a tag change 538 if (isMultipolygon()) { 539 for (OsmPrimitive member : getMemberPrimitives()) { 540 member.clearCachedStyle(); 541 } 537 for (OsmPrimitive member : getMemberPrimitives()) { 538 member.clearCachedStyle(); 542 539 } 543 540 } -
trunk/src/org/openstreetmap/josm/data/osm/Way.java
r7005 r7091 8 8 import java.util.HashSet; 9 9 import java.util.List; 10 import java.util.Map; 10 11 import java.util.Set; 11 12 … … 734 735 return false; 735 736 } 737 738 @Override 739 protected void keysChangedImpl(Map<String, String> originalKeys) { 740 super.keysChangedImpl(originalKeys); 741 for (final Node n : nodes) { 742 n.clearCachedStyle(); 743 } 744 } 745 736 746 }
Note:
See TracChangeset
for help on using the changeset viewer.