Changeset 8513 in josm for trunk/src/org/openstreetmap/josm/actions/mapmode
- Timestamp:
- 2015-06-21T02:25:56+02:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/actions/mapmode
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/mapmode/DrawAction.java
r8510 r8513 539 539 if (way != null) { 540 540 int nodeCount = 0; 541 for (Node p : way.getNodes()) 541 for (Node p : way.getNodes()) { 542 542 if (p.equals(n0)) { 543 543 nodeCount++; 544 544 } 545 } 545 546 if (nodeCount > 1) { 546 547 way = null; -
trunk/src/org/openstreetmap/josm/actions/mapmode/ParallelWayAction.java
r8444 r8513 258 258 } else if (matchesCurrentModifiers(toggleSelectedModifierCombo)) { 259 259 newCursor = ImageProvider.getCursor("normal", "parallel"); // FIXME 260 } else {260 } else if (Main.isDebugEnabled()) { 261 261 // TODO: set to a cursor indicating an error 262 Main.debug("TODO: set an error cursor"); 262 263 } 263 264 break; -
trunk/src/org/openstreetmap/josm/actions/mapmode/ParallelWays.java
r8509 r8513 79 79 if (sortedNodesPath.get(i+1).getCoor().equals(n.getCoor())) { 80 80 removedNodes.add(n); 81 for (Way w : ways) 81 for (Way w : ways) { 82 82 w.removeNode(n); 83 } 83 84 continue; 84 85 }
Note:
See TracChangeset
for help on using the changeset viewer.