- Timestamp:
- 2009-05-23T11:49:09+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/SplitWayAction.java
r1600 r1609 277 277 c = new Relation(r); 278 278 279 int j = i; 280 boolean backwards = rm.role.equals("backward"); 279 281 for(Way wayToAdd : newWays) 280 282 { … … 285 287 warnme = true; 286 288 287 i++; 288 c.members.add(i, em); 289 j++; 290 if (backwards) 291 c.members.add(i, em); 292 else 293 c.members.add(j, em); 289 294 } 295 i = j; 290 296 } 291 297 }
Note:
See TracChangeset
for help on using the changeset viewer.