- Timestamp:
- 2013-03-03T13:32:38+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/ElemStyles.java
r5399 r5753 62 62 */ 63 63 public Pair<StyleList, Range> getStyleCacheWithRange(OsmPrimitive osm, double scale, NavigatableComponent nc) { 64 if (osm.mappaintStyle == null || osm.mappaintCacheIdx != cacheIdx ) {64 if (osm.mappaintStyle == null || osm.mappaintCacheIdx != cacheIdx || scale <= 0) { 65 65 osm.mappaintStyle = StyleCache.EMPTY_STYLECACHE; 66 66 } else {
Note:
See TracChangeset
for help on using the changeset viewer.