Changeset 32943 in osm for applications/editors/josm/plugins/buildings_tools/src
- Timestamp:
- 2016-09-08T00:21:08+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/buildings_tools/src/buildings_tools/DrawBuildingAction.java
r32543 r32943 199 199 n = null; 200 200 } else { 201 n = Main.map.mapView.getNearestNode(mousePos, OsmPrimitive .isUsablePredicate);201 n = Main.map.mapView.getNearestNode(mousePos, OsmPrimitive::isUsable); 202 202 } 203 203 if (n == null) { … … 276 276 drawStartPos = mousePos; 277 277 278 Node n = Main.map.mapView.getNearestNode(mousePos, OsmPrimitive .isUsablePredicate);278 Node n = Main.map.mapView.getNearestNode(mousePos, OsmPrimitive::isUsable); 279 279 if (n == null) { 280 280 building.setBase(latlon2eastNorth(Main.map.mapView.getLatLon(mousePos.x, mousePos.y))); … … 362 362 Node n = null; 363 363 if (!ctrl) 364 n = Main.map.mapView.getNearestNode(mousePos, OsmPrimitive .isUsablePredicate);364 n = Main.map.mapView.getNearestNode(mousePos, OsmPrimitive::isUsable); 365 365 if (n != null) { 366 366 setCursor(cursorJoinNode);
Note:
See TracChangeset
for help on using the changeset viewer.