- Timestamp:
- 2017-04-30T21:55:15+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MapView.java
r11905 r12030 72 72 import org.openstreetmap.josm.tools.AudioPlayer; 73 73 import org.openstreetmap.josm.tools.JosmRuntimeException; 74 import org.openstreetmap.josm.tools.Logging; 74 75 import org.openstreetmap.josm.tools.Shortcut; 75 76 import org.openstreetmap.josm.tools.Utils; … … 446 447 LayerPainter painter = registeredLayers.get(layer); 447 448 if (painter == null) { 448 throw new IllegalArgumentException("Cannot paint layer, it is not registered."); 449 Logging.warn("Cannot paint layer, it is not registered: {0}", layer); 450 return; 449 451 } 450 452 MapViewRectangle clipBounds = getState().getViewArea(g.getClipBounds());
Note:
See TracChangeset
for help on using the changeset viewer.