Changeset 18959 in josm


Ignore:
Timestamp:
2024-01-30T08:16:08+01:00 (10 months ago)
Author:
GerdP
Message:

fix #23442: Follow line bug when holding F

  • make sure that the node returned by DrawAction.getCurrentBaseNode() is either first or last node of the selected way.
File:
1 edited

Legend:

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

    r17188 r18959  
    8484            prev = follower.getNode(follower.getNodesCount() - 2);
    8585            reversed = false;
     86        } else if (!follower.firstNode().equals(last)) {
     87            return; // see #23442
    8688        }
    8789        List<OsmPrimitive> referrers = last.getReferrers();
Note: See TracChangeset for help on using the changeset viewer.