Changeset 28501 in osm
- Timestamp:
- 2012-07-22T22:49:10+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/undelete/src/org/openstreetmap/josm/plugins/undelete/Undelete.java
r28416 r28501 177 177 if (type.equals(OsmPrimitiveType.NODE)) 178 178 { 179 // We get all infofrom the latest version180 hPrimitive2=h Primitive1;179 // We get version and user from the latest version, coordinates and tags from n-1 version 180 hPrimitive2=h.getByVersion(h.getNumVersions()-1); 181 181 182 182 Node node = new Node(id, (int) hPrimitive1.getVersion()); 183 183 184 HistoryNode hNode = (HistoryNode) hPrimitive 1;184 HistoryNode hNode = (HistoryNode) hPrimitive2; 185 185 node.setCoor(hNode.getCoords()); 186 186
Note:
See TracChangeset
for help on using the changeset viewer.