Ignore:
Timestamp:
2017-06-08T23:41:02+02:00 (9 years ago)
Author:
michael2402
Message:

See #13036: Add more consistency checks to move / delete command.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/command/MoveCommand.java

    r11070 r12348  
    207207    @Override
    208208    public boolean executeCommand() {
     209        ensurePrimitivesAreInDataset();
     210
    209211        for (Node n : nodes) {
    210212            // in case #3892 happens again
     
    222224    @Override
    223225    public void undoCommand() {
     226        ensurePrimitivesAreInDataset();
     227
    224228        Iterator<OldNodeState> it = oldState.iterator();
    225229        for (Node n : nodes) {
Note: See TracChangeset for help on using the changeset viewer.