Changeset 2410 in josm for trunk/src/org/openstreetmap/josm/actions/UnGlueAction.java
- Timestamp:
- 2009-11-08T15:19:50+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/UnGlueAction.java
r2381 r2410 2 2 package org.openstreetmap.josm.actions; 3 3 4 import static org.openstreetmap.josm.gui.help.HelpUtil.ht; 4 5 import static org.openstreetmap.josm.tools.I18n.tr; 5 import static org.openstreetmap.josm.gui.help.HelpUtil.ht;6 6 7 7 import java.awt.event.ActionEvent; … … 157 157 cmds.add(new ChangeCommand(selectedNode, c)); 158 158 159 Node n = new Node(selectedNode); 160 n.clearOsmId(); 159 Node n = new Node(selectedNode, true); 161 160 162 161 // If this wasn't called from menu, place it where the cursor is/was … … 302 301 if (originalNode == pushNode) { 303 302 // clone the node for all other ways 304 pushNode = new Node(pushNode); 305 pushNode.clearOsmId(); 303 pushNode = new Node(pushNode, true); 306 304 newNodes.add(pushNode); 307 305 cmds.add(new AddCommand(pushNode));
Note:
See TracChangeset
for help on using the changeset viewer.