Changeset 2406 in josm for trunk/src/org


Ignore:
Timestamp:
2009-11-08T12:21:01+01:00 (15 years ago)
Author:
jttt
Message:

Fix for #3863 InvocationTargetException downloading additional data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/visitor/MergeVisitor.java

    r2388 r2406  
    135135        // my dataset. Just add other to my dataset.
    136136        //
     137
     138        //TODO primitive must be only in one dataset at one time, so remove it from theirDataset. This obviously
     139        // breaks theirDataset and we can only hope that nobody will try to use theirDataset after merging is finished
     140        theirDataSet.removePrimitive(other);
    137141        myDataset.addPrimitive(other);
    138142    }
Note: See TracChangeset for help on using the changeset viewer.