- Timestamp:
- 2017-10-28T16:24:44+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/mapmode/ImproveWayAccuracyAction.java
r12987 r13048 37 37 import org.openstreetmap.josm.data.osm.WaySegment; 38 38 import org.openstreetmap.josm.data.preferences.CachingProperty; 39 import org.openstreetmap.josm.data.preferences.IntegerProperty; 39 40 import org.openstreetmap.josm.data.preferences.NamedColorProperty; 40 import org.openstreetmap.josm.data.preferences.IntegerProperty;41 41 import org.openstreetmap.josm.data.preferences.StrokeProperty; 42 42 import org.openstreetmap.josm.gui.MainApplication; … … 278 278 279 279 // Only draw line if node is not first and/or last 280 if (index != 0 && index !=(nodes.size() - 1)) {280 if (index > 0 && index < (nodes.size() - 1)) { 281 281 p1 = nodes.get(index - 1); 282 282 p2 = nodes.get(index + 1);
Note:
See TracChangeset
for help on using the changeset viewer.