Changeset 10308 in josm for trunk/src/org/openstreetmap/josm/actions/mapmode
- Timestamp:
- 2016-06-01T23:17:40+02:00 (8 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
r10303 r10308 398 398 399 399 boolean newNode = false; 400 Node n = null; 401 402 n = Main.map.mapView.getNearestNode(mousePos, OsmPrimitive.isSelectablePredicate); 400 Node n = Main.map.mapView.getNearestNode(mousePos, OsmPrimitive.isSelectablePredicate); 403 401 if (ctrl) { 404 402 Iterator<Way> it = getCurrentDataSet().getSelectedWays().iterator(); -
trunk/src/org/openstreetmap/josm/actions/mapmode/ExtrudeAction.java
r10115 r10308 684 684 wnew.addNode(insertionPoint, n2New); 685 685 wayWasModified = true; 686 insertionPoint++;687 686 cmds.add(new AddCommand(n2New)); 688 687 changedNodes.add(n2New); -
trunk/src/org/openstreetmap/josm/actions/mapmode/SelectAction.java
r10179 r10308 1196 1196 Pair<Node, Node> vnp = null, wnp = new Pair<>(null, null); 1197 1197 1198 Way w = null;1199 1198 for (WaySegment ws : mv.getNearestWaySegments(p, mv.isSelectablePredicate)) { 1200 w = ws.way;1199 Way w = ws.way; 1201 1200 1202 1201 wnp.a = w.getNode(ws.lowerIndex);
Note:
See TracChangeset
for help on using the changeset viewer.