Ignore:
Timestamp:
2007-12-14T23:27:55+01:00 (16 years ago)
Author:
gebner
Message:

MergeVisitor.match: Only match objects by content if they're not incomplete.

File:
1 edited

Legend:

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

    r481 r490  
    140140
    141141        private static <P extends OsmPrimitive> boolean match(P p1, P p2) {
    142                 if (p1.id == 0 || p2.id == 0) {
     142                if ((p1.id == 0 || p2.id == 0) && !p1.incomplete && !p2.incomplete) {
    143143                        return realMatch(p1, p2);
    144144                }
Note: See TracChangeset for help on using the changeset viewer.