Changeset 8645 in josm for trunk/src/org/openstreetmap/josm/actions
- Timestamp:
- 2015-08-07T17:15:58+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/mapmode/DrawAction.java
r8513 r8645 824 824 double baseHdg = -1; 825 825 if (previousNode != null) { 826 baseHdg = Math.toDegrees(previousNode.getEastNorth() 827 .heading(getCurrentBaseNode().getEastNorth())); 826 EastNorth en = previousNode.getEastNorth(); 827 if (en != null) { 828 baseHdg = Math.toDegrees(en.heading(getCurrentBaseNode().getEastNorth())); 829 } 828 830 } 829 831
Note:
See TracChangeset
for help on using the changeset viewer.