Changeset 3081 in josm for trunk/src


Ignore:
Timestamp:
2010-03-05T03:24:09+01:00 (10 years ago)
Author:
mjulius
Message:

fixes #4666 - update data downloads unneeded ways outside download area

In UpdatePrimitivesTask download ways with incomplete nodes instead of incomplete ways.

File:
1 edited

Legend:

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

    r2990 r3081  
    156156            DataSetMerger merger = new DataSetMerger(ds, theirDataSet);
    157157            merger.merge();
    158             // a way loaded with MultiFetch may be incomplete because at least one of its
     158            // a way loaded with MultiFetch may have incomplete nodes because at least one of its
    159159            // nodes isn't present in the local data set. We therefore fully load all
    160             // incomplete ways.
     160            // ways with incomplete nodes.
    161161            //
    162162            for (Way w : ds.getWays()) {
    163163                if (canceled) return;
    164                 if (w.isIncomplete()) {
     164                if (w.hasIncompleteNodes()) {
    165165                    synchronized(this) {
    166166                        if (canceled) return;
Note: See TracChangeset for help on using the changeset viewer.