Changeset 485 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2007-12-13T15:10:51+01:00 (17 years ago)
Author:
gebner
Message:

When splitting ways, don't complain if the nodes are used by deleted ways.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/SplitWayAction.java

    r469 r485  
    9696                        for (Node n : selectedNodes) {
    9797                                for (Way w : Main.ds.ways) {
     98                                        if (w.deleted || w.incomplete) continue;
    9899                                        for (Node wn : w.nodes) {
    99100                                                if (n.equals(wn)) {
Note: See TracChangeset for help on using the changeset viewer.