Ignore:
Timestamp:
2016-01-27T11:13:39+01:00 (4 years ago)
Author:
simon04
Message:

fix #12347 - Split way breaks destination_sign relations (with intersection role)

File:
1 edited

Legend:

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

    r9442 r9647  
    617617                            for (RelationMember rmv : r.getMembers()) {
    618618                                if ("restriction".equals(type) && "via".equals(rmv.getRole())
    619                                         || "destination_sign".equals(type) && "sign".equals(rmv.getRole())) {
     619                                        || "destination_sign".equals(type) && rmv.hasRole("sign", "intersection")) {
    620620                                    via = rmv.getMember();
    621621                                }
Note: See TracChangeset for help on using the changeset viewer.