Changeset 3925 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2011-02-22T00:02:18+01:00 (14 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/dialogs/relation
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/MemberTableModel.java
r3789 r3925 961 961 for (int i=0; i<members.size(); ++i) { 962 962 final RelationMember m = members.get(i); 963 if (! m.isWay()) { 964 con.set(i, new WayConnectionType()); 965 firstGroupIdx = i; 966 continue; 967 } 968 969 final Way w = m.getWay(); 970 if (w == null || w.isIncomplete()) { 963 if (!m.isWay() || m.getWay() == null || m.getWay().isIncomplete()) { 964 if(i > 0) makeLoopIfNeeded(con, i-1); 971 965 con.set(i, new WayConnectionType()); 972 966 firstGroupIdx = i; … … 1023 1017 makeLoopIfNeeded(con, members.size()-1); 1024 1018 connectionType = con; 1025 // for (int i=0; i<con.size(); ++i) {1026 // System.err.println(con.get(i));1027 // }1028 1019 } 1029 1020 -
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/WayConnectionType.java
r3788 r3925 40 40 public boolean isOnewayHead = false; 41 41 public boolean isOnewayTail = false; 42 // public boolean isOnewayOppositeConnected = true;43 42 44 43 public WayConnectionType(boolean linkPrev, boolean linkNext, Direction direction) {
Note:
See TracChangeset
for help on using the changeset viewer.