Changeset 13308 in josm


Ignore:
Timestamp:
2018-01-12T20:46:41+01:00 (8 days ago)
Author:
Don-vip
Message:

fix #15765 - NPE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/MoveAction.java

    r12759 r13308  
    152152
    153153        for (Node n : affectedNodes) {
    154             if (n.getCoor().isOutSideWorld()) {
     154            if (n.isLatLonKnown() && n.getCoor().isOutSideWorld()) {
    155155                // Revert move
    156156                ((MoveCommand) c).moveAgain(-distx, -disty);
Note: See TracChangeset for help on using the changeset viewer.