- Timestamp:
- 2010-08-25T10:05:40+02:00 (14 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/OsmPrimitive.java
r3398 r3466 305 305 get/set functions calling this implicitely is preferred, so we can have 306 306 transparent cache handling in the future. */ 307 p rotectedvoid clearCached()307 public void clearCached() 308 308 { 309 309 mappaintDrawnCode = 0; -
trunk/src/org/openstreetmap/josm/gui/preferences/MapPaintPreference.java
r3225 r3466 17 17 18 18 import org.openstreetmap.josm.Main; 19 import org.openstreetmap.josm.data.osm.OsmPrimitive; 19 20 import org.openstreetmap.josm.gui.mappaint.MapPaintStyles; 20 21 import org.openstreetmap.josm.tools.GBC; … … 90 91 restart = true; 91 92 } 92 Main.pref.put("mappaint.style", styleCombo.getEditor().getItem().toString()); 93 if(Main.pref.put("mappaint.style", styleCombo.getEditor().getItem().toString())) 94 { 95 for(OsmPrimitive osm : Main.main.getCurrentDataSet().allPrimitives()) 96 { 97 osm.clearCached(); 98 } 99 } 93 100 return restart; 94 101 }
Note:
See TracChangeset
for help on using the changeset viewer.