Changeset 19271 in josm
- Timestamp:
- 2024-12-18T23:36:23+01:00 (30 hours ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/OsmDataLayer.java
r19247 r19271 1250 1250 1251 1251 private void resetTiles(Collection<? extends IPrimitive> primitives) { 1252 if (primitives.size() >= this.data.allNonDeletedCompletePrimitives().size() || primitives.size() > 100) { 1252 // Clear the cache if we aren't using tiles. And return. 1253 if (!MapRendererFactory.getInstance().isMapRendererActive(StyledTiledMapRenderer.class)) { 1254 this.cache.clear(); 1255 return; 1256 } 1257 // Don't use anything that uses filtered collections. It becomes slow at large datasets. 1258 if (primitives.size() > 100) { 1253 1259 dirtyAll(); 1254 1260 return;
Note:
See TracChangeset
for help on using the changeset viewer.