Changeset 26269 in osm for applications/editors/josm/plugins
- Timestamp:
- 2011-07-06T20:47:46+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/dumbutils/PasteRelationsAction.java
r25887 r26269 32 32 Map<Relation, String> relations = new HashMap<Relation, String>(); 33 33 for( PrimitiveData pdata : Main.pasteBuffer.getDirectlyAdded() ) { 34 OsmPrimitive p = getCurrentDataSet().getPrimitiveById(pdata.get Id(), pdata.getType());34 OsmPrimitive p = getCurrentDataSet().getPrimitiveById(pdata.getUniqueId(), pdata.getType()); 35 35 for( Relation r : OsmPrimitive.getFilteredList(p.getReferrers(), Relation.class)) { 36 36 String role = relations.get(r);
Note:
See TracChangeset
for help on using the changeset viewer.