Changeset 2470 in josm for trunk


Ignore:
Timestamp:
2009-11-18T15:52:13+01:00 (15 years ago)
Author:
Gubaer
Message:

fixed #3975: Loading of data breaking off at objects with visible=false

File:
1 edited

Legend:

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

    r2469 r2470  
    101101            osm.setTimestamp(timestamp);
    102102            osm.setUser(user);
    103             osm.setVisible(visible);
     103            if (id > 0) {
     104                // ignore visible attribute for objects not yet known to the server
     105                //
     106                osm.setVisible(visible);
     107            }
    104108            osm.mappaintStyle = null;
    105109        }
Note: See TracChangeset for help on using the changeset viewer.