Changeset 26885 in osm for applications/editors


Ignore:
Timestamp:
2011-10-14T08:49:43+02:00 (13 years ago)
Author:
zverik
Message:

fix for empty dataset area

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/dumbutils/ReplaceGeometryAction.java

    r26804 r26885  
    7272            List<OsmPrimitive> referrers = node.getReferrers();
    7373            if( !node.isDeleted() && referrers.size() == 1 && referrers.get(0).equals(way)
    74                     && (node.isNewOrUndeleted() || a.contains(node.getCoor())) )
     74                    && (node.isNewOrUndeleted() || a == null || a.contains(node.getCoor())) )
    7575                nodePool.add(node);
    7676        }
Note: See TracChangeset for help on using the changeset viewer.