Changeset 29532 in osm for applications/editors/josm/plugins/FastDraw/src/org/openstreetmap
- Timestamp:
- 2013-04-23T13:26:17+02:00 (12 years ago)
- Location:
- applications/editors/josm/plugins/FastDraw
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/FastDraw
- Property svn:ignore
-
old new 1 1 build 2 2 svn.log 3 bin
-
- Property svn:ignore
-
applications/editors/josm/plugins/FastDraw/src/org/openstreetmap/josm/plugins/fastdraw/DrawnPolyLine.java
r29453 r29532 293 293 294 294 private double pointSegmentDistance(Point p, Point p1, Point p2) { 295 double a,b,x,y,l, h,kt,kn,dist;295 double a,b,x,y,l,kt,kn,dist; 296 296 x=p.x-p1.x; y=p.y-p1.y; 297 297 a=p2.x-p1.x; b=p2.y-p1.y; -
applications/editors/josm/plugins/FastDraw/src/org/openstreetmap/josm/plugins/fastdraw/FastDrawingMode.java
r29531 r29532 63 63 private final Cursor cursorShift; 64 64 private final Cursor cursorReady; 65 private final Cursor cursorNode;65 //private final Cursor cursorNode; 66 66 private final Cursor cursorDrawing; 67 67 private boolean nearSomeNode; … … 92 92 cursorShift = ImageProvider.getCursor("crosshair", "new"); 93 93 cursorReady = ImageProvider.getCursor("crosshair", "ready"); 94 cursorNode = ImageProvider.getCursor("crosshair", "joinnode");94 //cursorNode = ImageProvider.getCursor("crosshair", "joinnode"); 95 95 cursorDrawing = ImageProvider.getCursor("crosshair", "mode"); 96 96 //loadPrefs(); … … 596 596 TagPaster tp = new TagPaster(Main.pasteBuffer.getDirectlyAdded(), ts); 597 597 List<Tag> execute = tp.execute(); 598 Map<String,String> tgs=new HashMap<String,String>();599 598 for (Tag t : execute) { 600 599 w.put(t.getKey(), t.getValue()); … … 675 674 676 675 private void loadFromWay(Way w) { 677 List<LatLon> pts=line.getPoints();678 679 676 Collection<Command> cmds = new LinkedList<Command>(); 680 677 681 Node firstNode=null;682 678 Object[] nodes = w.getNodes().toArray(); 683 679 int n=nodes.length;
Note:
See TracChangeset
for help on using the changeset viewer.