Changeset 6008 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2013-06-15T17:05:30+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/mapmode/ExtrudeAction.java
r5960 r6008 434 434 Way wnew = new Way(selectedSegment.way); 435 435 boolean wayWasModified = false; 436 boolean wayWasSingleSegment = wnew.getNodesCount() == 2; 436 437 int insertionPoint = selectedSegment.lowerIndex + 1; 437 438 … … 473 474 474 475 //the way was a single segment, close the way 475 if (w new.getNodesCount() == 4) {476 if (wayWasSingleSegment) { 476 477 wnew.addNode(selectedSegment.getFirstNode()); 477 478 wayWasModified = true;
Note:
See TracChangeset
for help on using the changeset viewer.