- Timestamp:
- 2013-02-19T15:46:59+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmTask.java
r5729 r5730 244 244 rememberDownloadedData(dataSet); 245 245 int numDataLayers = getNumDataLayers(); 246 boolean isUpdateData = false;247 246 if (newLayer || numDataLayers == 0 || (numDataLayers > 1 && getEditLayer() == null)) { 248 247 // the user explicitly wants a new layer, we don't have any layer at all … … 263 262 if (targetLayer == null) { 264 263 targetLayer = getFirstDataLayer(); 265 }266 Area dataSourceArea = targetLayer.data.getDataSourceArea();267 if (dataSourceArea != null && currentBounds != null) {268 isUpdateData = dataSourceArea.contains(currentBounds.asRect());269 264 } 270 265 targetLayer.mergeFrom(dataSet);
Note:
See TracChangeset
for help on using the changeset viewer.