- Timestamp:
- 2009-02-14T12:32:08+01:00 (16 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/mapmode/SelectAction.java
r1379 r1398 187 187 virtualNode = null; 188 188 } else { 189 Collection<OsmPrimitive> selection = Main.ds.getSelected(); 189 // Currently we support moving and rotating, which do not affect relations. 190 // So don't add them in the first place to make handling easier 191 Collection<OsmPrimitive> selection = Main.ds.getSelectedPhysical(); 190 192 Collection<Node> affectedNodes = AllNodesVisitor.getAllNodes(selection); 191 193 -
trunk/src/org/openstreetmap/josm/data/osm/DataSet.java
r1180 r1398 105 105 } 106 106 107 public Collection<OsmPrimitive> getSelectedPhysical() { 108 Collection<OsmPrimitive> sel = getSelected(nodes); 109 sel.addAll(getSelected(ways)); 110 return sel; 111 } 107 112 /** 108 113 * Return a list of all selected objects. Even keys are returned.
Note:
See TracChangeset
for help on using the changeset viewer.