Changeset 1883 in josm for trunk/src


Ignore:
Timestamp:
2009-08-02T19:08:25+02:00 (15 years ago)
Author:
Gubaer
Message:

only fetch existing nodes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/UpdateSelectionAction.java

    r1881 r1883  
    172172                    Way way = (Way)primitive;
    173173                    for (Node node: way.nodes) {
    174                         reader.append(node);
     174                        if (node.id > 0) {
     175                            reader.append(node);
     176                        }
    175177                    }
    176178                }
Note: See TracChangeset for help on using the changeset viewer.