Ignore:
Timestamp:
2013-07-06T10:28:01+02:00 (7 years ago)
Author:
akks
Message:

see #8851: fix some bugs in joining areas and adding intersections ("random nodes added")
(changed segment-segment intersection to more stable procedure)

File:
1 edited

Legend:

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

    r5947 r6049  
    315315     * Checks whether the selected objects are suitable to join and joins them if so
    316316     */
     317    @Override
    317318    public void actionPerformed(ActionEvent e) {
    318319        LinkedList<Way> ways = new LinkedList<Way>(Main.main.getCurrentDataSet().getSelectedWays());
     
    12951296     */
    12961297    private RelationRole addOwnMultigonRelation(Collection<Way> inner, Way outer) {
    1297         if (inner.size() == 0) return null;
     1298        if (inner.isEmpty()) return null;
    12981299        // Create new multipolygon relation and add all inner ways to it
    12991300        Relation newRel = new Relation();
     
    13711372        }
    13721373
    1373         Relation newRel = null;
     1374        Relation newRel;
    13741375        switch (multiouters.size()) {
    13751376        case 0:
Note: See TracChangeset for help on using the changeset viewer.