Ignore:
Timestamp:
2009-12-11T20:24:41+01:00 (15 years ago)
Author:
stoecker
Message:

applied #4146 - patch by mjulius - fix downloading incomplete relation

Location:
trunk/src/org/openstreetmap/josm/io
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/MultiFetchServerObjectReader.java

    r2599 r2609  
    193193                }
    194194            }
    195             appendGeneric(member.getMember());
     195            if (!member.getMember().isIncomplete()) {
     196                appendGeneric(member.getMember());
     197            }
    196198        }
    197199        return this;
     
    375377    protected void rememberNodesOfIncompleteWaysToLoad(DataSet from) {
    376378        for (Way w: from.getWays()) {
    377             if (w.isIncomplete()) {
     379            if (w.hasIncompleteNodes()) {
    378380                for (Node n: w.getNodes()) {
    379381                    if (n.isIncomplete()) {
  • trunk/src/org/openstreetmap/josm/io/OsmReader.java

    r2604 r2609  
    482482            }
    483483            w.setNodes(wayNodes);
    484             w.setHasIncompleteNodes();
    485484            if (w.hasIncompleteNodes()) {
    486485                if (logger.isLoggable(Level.FINE)) {
Note: See TracChangeset for help on using the changeset viewer.