- Timestamp:
- 2011-07-16T21:31:13+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/SplitWayAction.java
r3515 r4254 9 9 import java.awt.event.KeyEvent; 10 10 import java.util.ArrayList; 11 import java.util.Arrays; 11 12 import java.util.Collection; 12 13 import java.util.HashSet; … … 289 290 290 291 Iterator<List<Node>> chunkIt = wayChunks.iterator(); 292 Collection<String> nowarnroles = Main.pref.getCollection("way.split.roles.nowarn", 293 Arrays.asList(new String[]{"outer", "inner", "forward", "backward"})); 291 294 292 295 // First, change the original way … … 390 393 if(insert) 391 394 { 392 if (rm.hasRole() && ! ("multipolygon".equals(type))) {395 if (rm.hasRole() && !nowarnroles.contains(rm.getRole())) { 393 396 warnmerole = true; 394 397 }
Note:
See TracChangeset
for help on using the changeset viewer.