Changeset 184 in josm for src/org/openstreetmap/josm/actions/mapmode/AddNodeAction.java
- Timestamp:
- 2006-12-31T21:24:56+01:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/org/openstreetmap/josm/actions/mapmode/AddNodeAction.java
r170 r184 149 149 if (way != null) { 150 150 Way newWay = new Way(way); 151 if (way.segments.get(0).from == n1) 151 if (way.segments.get(0).from == n1) { 152 Node tmp = s.from; 153 s.from = s.to; 154 s.to = tmp; 152 155 newWay.segments.add(0, s); 153 else 156 } else 154 157 newWay.segments.add(s); 155 158 cmds.add(new ChangeCommand(way, newWay));
Note:
See TracChangeset
for help on using the changeset viewer.