Changeset 12512 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2017-07-25T23:55:03+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/mapmode/ExtrudeAction.java
r11893 r12512 39 39 import org.openstreetmap.josm.data.Bounds; 40 40 import org.openstreetmap.josm.data.coor.EastNorth; 41 import org.openstreetmap.josm.data.osm.DataIntegrityProblemException; 41 42 import org.openstreetmap.josm.data.osm.Node; 42 43 import org.openstreetmap.josm.data.osm.OsmPrimitive; … … 535 536 addNewNode(e); 536 537 } else if (e.getPoint().distance(initialMousePos) > initialMoveThreshold && newN1en != null && selectedSegment != null) { 537 // main extrusion commands 538 performExtrusion(); 538 try { 539 // main extrusion commands 540 performExtrusion(); 541 } catch (DataIntegrityProblemException ex) { 542 // Can occur if calling undo while extruding, see #12870 543 Main.error(ex); 544 } 539 545 } 540 546 } else if (mode == Mode.translate || mode == Mode.translate_node) {
Note:
See TracChangeset
for help on using the changeset viewer.