Changeset 2431 in josm for trunk/src/org
- Timestamp:
- 2009-11-10T18:32:26+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/JoinNodeWayAction.java
r2323 r2431 60 60 Collection<Command> cmds = new LinkedList<Command>(); 61 61 for (Map.Entry<Way, List<Integer>> insertPoint : insertPoints.entrySet()) { 62 List<Integer> is = insertPoint.getValue(); 63 if (is.size() == 0) 64 continue; 65 62 66 Way w = insertPoint.getKey(); 63 67 List<Node> nodesToAdd = w.getNodes(); 64 List<Integer> is = insertPoint.getValue();65 68 pruneSuccsAndReverse(is); 66 69 for (int i : is) { … … 71 74 cmds.add(new ChangeCommand(w, wnew)); 72 75 } 76 77 if (cmds.size() == 0) 78 return; 73 79 74 80 Main.main.undoRedo.add(new SequenceCommand(tr("Join Node and Line"), cmds));
Note:
See TracChangeset
for help on using the changeset viewer.