Changeset 3634 in josm


Ignore:
Timestamp:
2010-10-24T09:05:39+02:00 (9 years ago)
Author:
bastiK
Message:

applied #5560 (patch by extropy) - Extrude does not work with multiple adjacent buildings

File:
1 edited

Legend:

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

    r3631 r3634  
    324324                    Node nextNode = getNextNode(selectedSegment.lowerIndex + 1);
    325325                    nodeOverlapsSegment = nextNode != null && segmentsParralel(initialN2en, nextNode.getEastNorth(), initialN2en, newN2en);
    326                     hasOtherWays = hasNodeOtherWays(selectedSegment.getFirstNode(), selectedSegment.way);
     326                    hasOtherWays = hasNodeOtherWays(selectedSegment.getSecondNode(), selectedSegment.way);
    327327
    328328                    if (nodeOverlapsSegment && !alwaysCreateNodes && !hasOtherWays) {
Note: See TracChangeset for help on using the changeset viewer.