Changeset 8952 in osm for applications/editors
- Timestamp:
- 2008-07-12T17:00:26+02:00 (16 years ago)
- Location:
- applications/editors/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/utilsplugin/src/UtilsPlugin/SimplifyWayAction.java
r6157 r8952 34 34 public void actionPerformed(ActionEvent e) { 35 35 Collection<OsmPrimitive> selection = Main.ds.getSelected(); 36 37 if (selection.size() == 1 && selection.iterator().next() instanceof Way) { 38 simplifyWay((Way) selection.iterator().next()); 36 37 for (OsmPrimitive prim : selection) { 38 if (prim instanceof Way) { 39 simplifyWay((Way) prim); 40 } 39 41 } 40 42 }
Note:
See TracChangeset
for help on using the changeset viewer.