Ignore:
Timestamp:
2011-08-18T18:56:26+02:00 (8 years ago)
Author:
xeen
Message:

delete way segment would delete whole way if is short

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/command/DeleteCommand.java

    r3431 r4320  
    388388
    389389    public static Command deleteWaySegment(OsmDataLayer layer, WaySegment ws) {
    390         if (ws.way.getNodesCount() < 3)
    391             return delete(layer, Collections.singleton(ws.way));
    392 
    393390        if (ws.way.firstNode() == ws.way.lastNode()) {
    394391            // If the way is circular (first and last nodes are the same),
Note: See TracChangeset for help on using the changeset viewer.