Changeset 30145 in osm for applications/editors/josm/plugins/CommandLine
- Timestamp:
- 2013-12-22T12:27:11+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/CommandLine/src/CommandLine/OsmToCmd.java
r29505 r30145 250 250 else if (currentPrimitive.isModified()) { 251 251 //System.out.println(String.valueOf(currentPrimitive.getUniqueId()) + " IS MODIFIED BY SCRIPT"); 252 cmds.add(new ChangeCommand(Main.ma p.mapView.getEditLayer(), targetDataSet.getPrimitiveById(currentPrimitive.getPrimitiveId()), currentPrimitive));252 cmds.add(new ChangeCommand(Main.main.getEditLayer(), targetDataSet.getPrimitiveById(currentPrimitive.getPrimitiveId()), currentPrimitive)); 253 253 } 254 254 else if (currentPrimitive.isNew()) { … … 262 262 } 263 263 else if (currentPrimitive.isModified()) { 264 cmds.add(new ChangeCommand(Main.ma p.mapView.getEditLayer(), targetDataSet.getPrimitiveById(currentPrimitive.getPrimitiveId()), currentPrimitive));264 cmds.add(new ChangeCommand(Main.main.getEditLayer(), targetDataSet.getPrimitiveById(currentPrimitive.getPrimitiveId()), currentPrimitive)); 265 265 } 266 266 else if (currentPrimitive.isNew()) { … … 274 274 } 275 275 else if (currentPrimitive.isModified()) { 276 cmds.add(new ChangeCommand(Main.ma p.mapView.getEditLayer(), targetDataSet.getPrimitiveById(currentPrimitive.getPrimitiveId()), currentPrimitive));276 cmds.add(new ChangeCommand(Main.main.getEditLayer(), targetDataSet.getPrimitiveById(currentPrimitive.getPrimitiveId()), currentPrimitive)); 277 277 } 278 278 else if (currentPrimitive.isNew()) {
Note:
See TracChangeset
for help on using the changeset viewer.