Ignore:
Timestamp:
2017-09-16T00:43:59+02:00 (7 years ago)
Author:
donvip
Message:

update to JOSM 12828

Location:
applications/editors/josm/plugins/opendata
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/opendata/build.xml

    r33595 r33611  
    11<?xml version="1.0" encoding="utf-8"?>
    22<project name="opendata" default="dist" basedir=".">
    3     <property name="plugin.main.version" value="12825"/>
     3    <property name="plugin.main.version" value="12828"/>
    44    <property name="plugin.author" value="Don-vip"/>
    55    <property name="plugin.class" value="org.openstreetmap.josm.plugins.opendata.OdPlugin"/>
  • applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/datasets/DataSetUpdater.java

    r33595 r33611  
    1212import org.openstreetmap.josm.Main;
    1313import org.openstreetmap.josm.actions.SimplifyWayAction;
    14 import org.openstreetmap.josm.actions.SplitWayAction;
    15 import org.openstreetmap.josm.actions.SplitWayAction.SplitWayResult;
    1614import org.openstreetmap.josm.command.SequenceCommand;
     15import org.openstreetmap.josm.command.SplitWayCommand;
    1716import org.openstreetmap.josm.data.osm.DataSet;
    1817import org.openstreetmap.josm.data.osm.Node;
     
    6160                    atNodes.add(w.getNode((int) ((i / n) * w.getNodesCount())));
    6261                }
    63                 SplitWayResult res = SplitWayAction.split(w, atNodes, Collections.emptyList());
     62                SplitWayCommand res = SplitWayCommand.split(w, atNodes, Collections.emptyList());
    6463                if (res != null) {
    65                     res.getCommand().executeCommand();
     64                    res.executeCommand();
    6665                }
    6766            }
Note: See TracChangeset for help on using the changeset viewer.