Ignore:
Timestamp:
2019-12-23T22:23:43+01:00 (5 years ago)
Author:
donvip
Message:

fix #josm18453 - IOOBE

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

Legend:

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

    r34510 r35256  
    44    <property name="commit.message" value="[josm_fastdraw] Fix incorrect settings saving-2"/>
    55    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    6     <property name="plugin.main.version" value="14153"/>
     6    <property name="plugin.main.version" value="14960"/>
    77   
    88    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/FastDraw/src/org/openstreetmap/josm/plugins/fastdraw/FastDrawingMode.java

    r34510 r35256  
    356356
    357357        if (!drawing) {
    358             if (dragNode >= 0) {
     358            if (dragNode >= 0 && dragNode < line.getPointCount()) {
    359359                line.moveNode(dragNode, getLatLon(e));
    360360                repaint();
     
    564564                }
    565565            }
    566             if (nd.getCoor().isOutSideWorld()) {
     566            if (nd.isOutSideWorld()) {
    567567                JOptionPane.showMessageDialog(MainApplication.getMainFrame(),
    568568                        tr("Cannot place node outside of the world."));
Note: See TracChangeset for help on using the changeset viewer.